Home
last modified time | relevance | path

Searched refs:GFile (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/core/platform/
Dram_file_system_test.py44 with gfile.GFile('ram://a.txt', 'w') as f:
48 with gfile.GFile('ram://a.txt', 'r') as f:
52 with gfile.GFile('ram://c.txt', 'w') as f:
55 with gfile.GFile('ram://c.txt', 'w+') as f:
59 with gfile.GFile('ram://c.txt', 'r') as f:
64 with gfile.GFile('ram://a/b/%d.txt' % i, 'w') as f:
66 with gfile.GFile('ram://c/b/%d.txt' % i, 'w') as f:
74 with gfile.GFile('ram://a/b/%d.txt' % i, 'w') as f:
76 with gfile.GFile('ram://c/b/%d.txt' % i, 'w') as f:
89 with gfile.GFile('ram://exists/a/b/c.txt', 'w') as f:
/external/tensorflow/tensorflow/python/platform/
Dgfile.py41 class GFile(_FileIO): class
64 super(GFile, self).__init__(name=name, mode=mode)
85 Open = GFile
/external/tensorflow/tensorflow/python/tools/
Dstrip_unused_lib.py107 with gfile.GFile(input_graph, mode) as f:
119 with gfile.GFile(output_graph, "wb") as f:
122 with gfile.GFile(output_graph, "w") as f:
Dfreeze_graph.py237 with gfile.GFile(output_graph, "wb") as f:
249 with gfile.GFile(input_graph, mode) as f:
263 with gfile.GFile(input_graph, mode) as f:
277 with gfile.GFile(input_saver, mode) as f:
Dselective_registration_header_lib.py51 ops_list_str = gfile.GFile(input_file, 'r').read()
91 file_data = gfile.GFile(proto_file, 'rb').read()
Dprint_selective_registration_header_test.py91 with gfile.GFile(fname, 'wb') as f:
98 with gfile.GFile(fname, 'w') as f:
Doptimize_for_inference.py95 f = gfile.GFile(FLAGS.output, "w")
/external/tensorflow/tensorflow/lite/python/
Dtest_util_test.py32 op_set = tflite_test_util.get_ops_list(gfile.GFile(model_path, 'rb').read())
38 op_set = tflite_test_util.get_ops_list(gfile.GFile(model_path, 'rb').read())
/external/tensorflow/tensorflow/lite/tools/
Dflatbuffer_utils.py60 with gfile.GFile(input_tflite_file, 'rb') as input_file_handle:
105 with gfile.GFile(output_tflite_file, 'wb') as output_file_handle:
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.io.gfile.-g-file.pbtxt1 path: "tensorflow.io.gfile.GFile"
3 is_instance: "<class \'tensorflow.python.platform.gfile.GFile\'>"
Dtensorflow.gfile.-g-file.pbtxt1 path: "tensorflow.gfile.GFile"
3 is_instance: "<class \'tensorflow.python.platform.gfile.GFile\'>"
Dtensorflow.io.gfile.pbtxt4 name: "GFile"
Dtensorflow.gfile.pbtxt8 name: "GFile"
Dtensorflow.gfile.-open.pbtxt3 is_instance: "<class \'tensorflow.python.platform.gfile.GFile\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.io.gfile.-g-file.pbtxt1 path: "tensorflow.io.gfile.GFile"
3 is_instance: "<class \'tensorflow.python.platform.gfile.GFile\'>"
Dtensorflow.io.gfile.pbtxt4 name: "GFile"
/external/tensorflow/tensorflow/examples/speech_commands/
Dlabel_wav_dir.py46 with tf.io.gfile.GFile(filename, 'rb') as f:
54 return [line.rstrip() for line in tf.io.gfile.GFile(filename)]
Dlabel_wav.py45 with tf.io.gfile.GFile(filename, 'rb') as f:
53 return [line.rstrip() for line in tf.io.gfile.GFile(filename)]
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py86 with gfile.GFile('/proc/self/status', 'rb') as fh:
111 gfile.GFile(f, 'r').readline().rstrip()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dio.py103 with gfile.GFile(os.path.join(path, DATASET_SPEC_FILENAME), "wb") as f:
135 with gfile.GFile(os.path.join(path, DATASET_SPEC_FILENAME), "rb") as f:
/external/oss-fuzz/projects/gdk-pixbuf/targets/
Dstream_fuzzer.c23 GFile *file; in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dhash_table_asset_v1.py45 with tf.io.gfile.GFile(vocabulary_file, 'w') as f:
/external/tensorflow/tensorflow/lite/tools/signature/
Dsignature_def_utils_test.py40 with tf.io.gfile.GFile(filename, 'rb') as fp:
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dtable_utils_test.py425 with gfile.GFile(self._vocab_path, "w") as writer:
435 with gfile.GFile(self._vocab_path, "wb") as writer:
443 with gfile.GFile(self._vocab_path, "wb") as writer:
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave.py101 with gfile.GFile(

12