HomeSort by relevance Sort by last modified time
    Searched refs:model_file (Results 1 - 7 of 7) sorted by null

  /frameworks/ml/nn/tools/test_generator/
slicing.py 109 def dump(self, model_file):
111 print(x, file=model_file)
163 with smart_open(model) as model_file:
165 print("# Generated file%s. Do not edit" % (spec_file), file=model_file)
166 print("model = Model()", file=model_file)
168 print(s.format_operands(), file=model_file)
169 s.dump(model_file)
vts_generator.py 152 def generate_vts_operations(model_file):
157 def generate_vts_model(model_file):
233 print(model_fmt.format(**model), file = model_file)
235 def generate_vts(model_file):
236 generate_vts_model(model_file)
237 print (IgnoredOutput.gen_ignored(), file=model_file)
244 with smart_open(model) as model_file:
245 generate_vts(model_file)
test_generator.py 718 def print_cts_op(model_file, op):
721 print (" %s" % fmt, file = model_file)
734 with smart_open(model) as model_file:
737 print ('// Generated file%s. Do not edit'%(spec_file), file = model_file)
738 print ("void CreateModel(Model *model" + args + ") {", file=model_file)
741 Type.dump(model_file)
743 print (" // Phase 1, operands", file=model_file)
744 Operand.operands.dump(model_file)
747 print (" // Phase 2, operations", file=model_file)
748 TopologicalSort(lambda x: print_cts_op(model_file, x)
    [all...]
  /external/tensorflow/tensorflow/examples/label_image/
label_image.py 26 def load_graph(model_file):
30 with open(model_file, "rb") as f:
77 model_file = \
100 model_file = args.graph variable
118 graph = load_graph(model_file)
78 "tensorflow\/examples\/label_image\/data\/inception_v3_2016_08_28_frozen.pb" variable
  /external/autotest/client/site_tests/hardware_StorageFio/
hardware_StorageFio.py 53 model_file = device_path.replace('block/%s' % device, 'model')
54 if os.path.exists(vendor_file) and os.path.exists(model_file):
56 model = utils.read_one_line(model_file).strip()
  /external/tensorflow/tensorflow/contrib/lite/java/src/main/native/
nativeinterpreterwrapper_jni.h 84 JNIEnv* env, jclass clazz, jstring model_file, jlong error_handle);
nativeinterpreterwrapper_jni.cc 275 JNIEnv* env, jclass clazz, jstring model_file, jlong error_handle) {
279 const char* path = env->GetStringUTFChars(model_file, nullptr);
286 env->ReleaseStringUTFChars(model_file, path);
297 env->ReleaseStringUTFChars(model_file, path);
300 env->ReleaseStringUTFChars(model_file, path);

Completed in 289 milliseconds