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

Method run

tensorflow/java/src/main/java/org/tensorflow/Session.java:480–490  ·  view source on GitHub ↗

Execute a session. The author apologizes for the ugliness of the long argument list of this method. However, take solace in the fact that this is a private method meant to cross the JNI boundary. @param handle to the C API TF_Session object (Session.nativeHandle) @param runOptions serialized re

(
      long handle,
      byte[] runOptions,
      long[] inputTensorHandles,
      long[] inputOpHandles,
      int[] inputOpIndices,
      long[] outputOpHandles,
      int[] outputOpIndices,
      long[] targetOpHandles,
      boolean wantRunMetadata,
      long[] outputTensorHandles)

Source from the content-addressed store, hash-verified

478 * buffer, false otherwise.
479 */
480 private static native byte[] run(
481 long handle,
482 byte[] runOptions,
483 long[] inputTensorHandles,
484 long[] inputOpHandles,
485 int[] inputOpIndices,
486 long[] outputOpHandles,
487 int[] outputOpIndices,
488 long[] targetOpHandles,
489 boolean wantRunMetadata,
490 long[] outputTensorHandles);
491}

Callers 15

setup_tpu_sessionFunction · 0.95
__init__Method · 0.95
create_test_networkFunction · 0.95
_model_graph_defFunction · 0.95
run_trainingFunction · 0.95
test_feedMethod · 0.95
copy_variable_to_graphFunction · 0.95
_initialized_sessionFunction · 0.95
_initialized_sessionFunction · 0.95
testStripUnusedMethod · 0.95

Calls

no outgoing calls

Tested by 15

create_test_networkFunction · 0.76
test_feedMethod · 0.76
_initialized_sessionFunction · 0.76
_initialized_sessionFunction · 0.76
testStripUnusedMethod · 0.76
_testFreezeGraphMethod · 0.76
testFreezeMetaGraphMethod · 0.76
testNotEnteredMethod · 0.76