Skip to content

Commit 72ed4f0

Browse files
committed
Add Javadoc for getUnsafeNativeHandle
Signed-off-by: Ryan Nett <JNett96@gmail.com>
1 parent d08b38b commit 72ed4f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/GraphOperation.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,11 @@ public Set<GraphOperation> controlConsumers() {
383383
}
384384
}
385385

386+
/**
387+
* Get the native handle of this operation.
388+
*
389+
* No liveness or non-null checking is done, the operation may have been deallocated.
390+
*/
386391
public TF_Operation getUnsafeNativeHandle() {
387392
return unsafeNativeHandle;
388393
}

0 commit comments

Comments
 (0)