MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / operation

Method operation

tensorflow/java/src/main/java/org/tensorflow/Graph.java:71–79  ·  view source on GitHub ↗

Returns the operation (node in the Graph) with the provided name. Or null if no such operation exists in the Graph.

(String name)

Source from the content-addressed store, hash-verified

69 * <p>Or {@code null} if no such operation exists in the Graph.
70 */
71 public GraphOperation operation(String name) {
72 synchronized (nativeHandleLock) {
73 long oph = operation(nativeHandle, name);
74 if (oph == 0) {
75 return null;
76 }
77 return new GraphOperation(this, oph);
78 }
79 }
80
81 /**
82 * Iterator over all the {@link Operation}s in the graph.

Callers 15

createMethod · 0.95
createMethod · 0.95
graphOperationMethod · 0.80
QueueThreadMethod · 0.80
CreateSavedModelIRFunction · 0.80
EnqueueMethod · 0.80
RunMethod · 0.80
operationEqualityMethod · 0.80
operationCollectionMethod · 0.80
outputEqualityMethod · 0.80
outputCollectionMethod · 0.80
validateImportedGraphMethod · 0.80

Calls

no outgoing calls

Tested by 8

operationEqualityMethod · 0.64
operationCollectionMethod · 0.64
outputEqualityMethod · 0.64
outputCollectionMethod · 0.64
validateImportedGraphMethod · 0.64
hasNodeMethod · 0.64
compositeMethod · 0.64