/external/tensorflow/tensorflow/lite/tools/optimize/python/ |
D | modify_model_interface_lib_test.py | 66 with open(initial_file, 'wb') as model_file: 67 model_file.write(initial_model) 103 with open(initial_file, 'wb') as model_file: 104 model_file.write(initial_model) 138 with open(initial_file, 'wb') as model_file: 139 model_file.write(initial_model)
|
/external/autotest/client/cros/storage_tests/ |
D | fio_test.py | 67 model_file = '%s/model' % dir_path 68 if os.path.exists(model_file): 69 self.__description = utils.read_one_line(model_file).strip() 74 model_file = device_path.replace('block/%s' % device, 'model') 75 if os.path.exists(vendor_file) and os.path.exists(model_file): 77 model = utils.read_one_line(model_file).strip()
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | label_image.py | 26 def load_graph(model_file): argument 30 with open(model_file, "rb") as f: 75 model_file = \ variable 98 model_file = args.graph variable 116 graph = load_graph(model_file)
|
/external/tensorflow/tensorflow/lite/testing/ |
D | tflite_model_test.bzl | 59 model_file = tensorflow_model_file, 99 model_file, 106 model_file: the path to the input file. 126 srcs = [model_file] 148 cmd = cmd % (tool, model_file, output_file),
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api_test.cc | 243 std::ifstream model_file("tensorflow/lite/testdata/add.bin"); in TEST() local 245 model_file.seekg(0, std::ios_base::end); in TEST() 246 std::vector<char> model_buffer(model_file.tellg()); in TEST() 248 model_file.seekg(0, std::ios_base::beg); in TEST() 249 model_file.read(model_buffer.data(), model_buffer.size()); in TEST()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | list_flex_ops_main.cc | 36 for (const std::string& model_file : models) { in main() local 39 fin.open(model_file); in main()
|
D | visualize_test.py | 51 with open(model_filename, 'wb') as model_file: 52 model_file.write(model)
|
/external/tensorflow/tensorflow/lite/toco/python/ |
D | toco_from_protos.py | 34 with open(FLAGS.model_proto_file, "rb") as model_file: 35 model_str = model_file.read()
|
/external/llvm-project/clang-tools-extra/clangd/quality/ |
D | CompletionModelCodegen.py | 291 model_file = "%s/forest.json" % ns.model 297 with open(model_file) as m:
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.lite.-toco-converter.pbtxt | 14 …argspec: "args=[\'cls\', \'model_file\', \'input_arrays\', \'input_shapes\', \'output_arrays\'], v…
|
D | tensorflow.lite.-t-f-lite-converter.pbtxt | 22 …argspec: "args=[\'cls\', \'model_file\', \'input_arrays\', \'input_shapes\', \'output_arrays\', \'…
|
/external/tensorflow/tensorflow/lite/tutorials/ |
D | mnist_tflite.py | 73 interpreter = tf.lite.Interpreter(model_path=flags.model_file)
|
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/inference_diff/ |
D | README.md | 39 * `model_file` : `string` \ 103 --model_file=/data/local/tmp/mobilenet_v1_1.0_224.tflite \
|
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/ |
D | README.md | 39 * `model_file` : `string` \ 186 --model_file=/data/local/tmp/mobilenet_quant_v1_224.tflite \ 202 --model_file=mobilenet_quant_v1_224.tflite \
|
/external/tensorflow/tensorflow/lite/examples/python/ |
D | label_image.py | 64 model_path=args.model_file, num_threads=args.num_threads)
|
D | README.md | 34 --model_file /tmp/mobilenet_v1_1.0_224.tflite \
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibrator_test.cc | 480 tensorflow::string model_file; in main() local 482 tensorflow::Flag("test_model_file", &model_file, in main() 492 new tensorflow::string(tensorflow::io::Dirname(model_file)); in main()
|
/external/tensorflow/tensorflow/lite/python/ |
D | lite.py | 1502 model_file, argument 1535 model_file, custom_objects) 1552 model_file, custom_objects) 1984 model_file, 2007 return TFLiteKerasModelConverter(model_file, input_arrays, input_shapes, 2071 model_file, 2076 return TFLiteConverter.from_keras_model_file(model_file, input_arrays,
|
D | tflite_convert_test.py | 66 with gfile.Open(output_file, 'rb') as model_file: 67 content = model_file.read()
|
D | interpreter_test.py | 152 with io.open(model_path, 'rb') as model_file: 153 data = model_file.read()
|
/external/tensorflow/tensorflow/lite/g3doc/guide/ |
D | python.md | 80 interpreter = tf.lite.Interpreter(model_path=args.model_file) 86 interpreter = tflite.Interpreter(model_path=args.model_file)
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.cc | 518 JNIEnv* env, jclass clazz, jstring model_file, jlong error_handle) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_createModel() argument 522 const char* path = env->GetStringUTFChars(model_file, nullptr); in Java_org_tensorflow_lite_NativeInterpreterWrapper_createModel() 534 env->ReleaseStringUTFChars(model_file, path); in Java_org_tensorflow_lite_NativeInterpreterWrapper_createModel() 537 env->ReleaseStringUTFChars(model_file, path); in Java_org_tensorflow_lite_NativeInterpreterWrapper_createModel()
|
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/coco_object_detection/ |
D | README.md | 42 * `model_file` : `string` \ 233 --model_file=/data/local/tmp/ssd_mobilenet_v1_float.tflite \ 251 --model_file=/path/to/ssd_mobilenet_v1_float.tflite \
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_weights_test.cc | 599 tensorflow::string model_file; in main() local 601 tensorflow::Flag("test_model_file", &model_file, in main() 611 new tensorflow::string(tensorflow::io::Dirname(model_file)); in main()
|
D | quantization_utils_test.cc | 824 tensorflow::string model_file; in main() local 826 tensorflow::Flag("test_model_file", &model_file, in main() 836 new tensorflow::string(tensorflow::io::Dirname(model_file)); in main()
|