Home
last modified time | relevance | path

Searched refs:op_handles (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/java/src/main/native/
Dutils_jni.cc36 jlong* op_handles = env->GetLongArrayElements(src_op, nullptr); in resolveOutputs() local
39 if (op_handles[i] == 0) { in resolveOutputs()
44 dst[i] = TF_Output{reinterpret_cast<TF_Operation*>(op_handles[i]), in resolveOutputs()
48 env->ReleaseLongArrayElements(src_op, op_handles, JNI_ABORT); in resolveOutputs()
Doperation_builder_jni.cc96 JNIEnv* env, jclass clazz, jlong handle, jlongArray op_handles, in Java_org_tensorflow_OperationBuilder_addInputList() argument
100 const size_t n = static_cast<size_t>(env->GetArrayLength(op_handles)); in Java_org_tensorflow_OperationBuilder_addInputList()
109 jlong* oph = env->GetLongArrayElements(op_handles, nullptr); in Java_org_tensorflow_OperationBuilder_addInputList()
116 env->ReleaseLongArrayElements(op_handles, oph, JNI_ABORT); in Java_org_tensorflow_OperationBuilder_addInputList()