Searched refs:op_handles (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/java/src/main/native/ |
D | utils_jni.cc | 36 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()
|
D | graph_operation_builder_jni.cc | 95 JNIEnv* env, jclass clazz, jlong handle, jlongArray op_handles, in Java_org_tensorflow_GraphOperationBuilder_addInputList() argument 99 const size_t n = static_cast<size_t>(env->GetArrayLength(op_handles)); in Java_org_tensorflow_GraphOperationBuilder_addInputList() 108 jlong* oph = env->GetLongArrayElements(op_handles, nullptr); in Java_org_tensorflow_GraphOperationBuilder_addInputList() 115 env->ReleaseLongArrayElements(op_handles, oph, JNI_ABORT); in Java_org_tensorflow_GraphOperationBuilder_addInputList()
|