Home
last modified time | relevance | path

Searched refs:io_ops (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/python/kernel_tests/
Dio_ops_test.py27 from tensorflow.python.ops import io_ops
43 read = io_ops.read_file(temp.name)
57 w = io_ops.write_file(temp.name, contents)
71 w = io_ops.write_file(filepath, contents)
98 io_ops.matching_files(f.name).eval(), compat.as_bytes(f.name))
105 set(io_ops.matching_files(pattern % 'z').eval()),
108 set(io_ops.matching_files(pattern % '?').eval()),
111 set(io_ops.matching_files(pattern % '*').eval()),
117 set(io_ops.matching_files(pattern % '[cxz]').eval()),
120 set(io_ops.matching_files(pattern % '[0-9]').eval()),
[all …]
Dsave_restore_ops_test.py28 from tensorflow.python.ops import io_ops
37 self.evaluate(io_ops.save_v2(
40 self.evaluate(io_ops.restore_v2(
60 op = io_ops.restore_v2("model", ["var1", "var2"], ["", "3 4 0,1:-"],
69 io_ops.restore_v2("model", ["var1", "var2", "var3"], ["", "3 4 0,1:-"],
Ddecode_image_op_test.py28 from tensorflow.python.ops import io_ops
41 bmp0 = io_ops.read_file(path)
58 gif0 = io_ops.read_file(path)
88 jpeg0 = io_ops.read_file(path)
107 png0 = io_ops.read_file(path)
Dreader_ops_test.py35 from tensorflow.python.ops import io_ops
152 reader = io_ops.IdentityReader("test_reader")
186 reader = io_ops.IdentityReader("test_reader")
207 reader = io_ops.IdentityReader("test_reader")
262 reader = io_ops.IdentityReader("test_reader")
313 reader = io_ops.WholeFileReader("test_reader")
329 reader = io_ops.WholeFileReader("test_reader")
371 reader = io_ops.TextLineReader(name="test_reader")
398 reader = io_ops.TextLineReader(skip_header_lines=1, name="test_reader")
528 reader = io_ops.FixedLengthRecordReader(
[all …]
Ddecode_jpeg_op_test.py30 from tensorflow.python.ops import io_ops
74 initializer=io_ops.read_file(image_file_path))
77 io_ops.read_file(image_file_path), channels=3, name='single_image')
/external/tensorflow/tensorflow/python/framework/
Dfile_system_test.py27 from tensorflow.python.ops import io_ops
43 reader = io_ops.WholeFileReader("test_reader")
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Drange_dataset_serialization_test.py32 from tensorflow.python.ops import io_ops
48 save_op = io_ops.write_file(
55 io_ops.read_file(self._iterator_checkpoint_prefix_local()),
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-t-f-record-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.TFRecordReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-l-m-d-b-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.LMDBReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-identity-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.IdentityReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-text-line-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.TextLineReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-whole-file-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.WholeFileReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-fixed-length-record-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.FixedLengthRecordReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
Dtensorflow.-reader-base.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
/external/tensorflow/tensorflow/lite/tools/
Dconvert_image_to_csv.py37 from tensorflow.python.ops import io_ops
56 file_data = io_ops.read_file(filepath)
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py36 from tensorflow.python.ops import io_ops
129 wav_loader = io_ops.read_file(wav_filename_placeholder)
150 wav_saver = io_ops.write_file(wav_filename_placeholder, wav_encoder)
357 wav_loader = io_ops.read_file(wav_filename_placeholder)
399 wav_loader = io_ops.read_file(self.wav_filename_placeholder_)
664 wav_loader = io_ops.read_file(wav_filename_placeholder)
Dtest_streaming_accuracy.py76 from tensorflow.python.ops import io_ops
106 wav_loader = io_ops.read_file(wav_filename_placeholder)
/external/tensorflow/tensorflow/python/training/saving/
Dfunctional_saver.py31 from tensorflow.python.ops import io_ops
73 return io_ops.save_v2(file_prefix, tensor_names, tensor_slices, tensors)
95 restored_tensors = io_ops.restore_v2(
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dignore_errors_test.py33 from tensorflow.python.ops import io_ops
87 io_ops.read_file,
Dmake_batched_features_dataset_test.py33 from tensorflow.python.ops import io_ops
237 reader=io_ops.TFRecordReader)
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_utils.py27 from tensorflow.python.ops import io_ops
412 restore_op = io_ops.restore_v2(
Dsaver.py45 from tensorflow.python.ops import io_ops
113 return io_ops._save(
121 return io_ops.save_v2(filename_tensor, tensor_names, tensor_slices,
176 io_ops.restore_v2(filename_tensor, [spec.name], [spec.slice_spec],
575 return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
Dsupervisor_test.py40 from tensorflow.python.ops import io_ops
277 reader = io_ops.TextLineReader()
296 reader = io_ops.TextLineReader()
316 reader = io_ops.TextLineReader()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dcheckpoint_test.py31 from tensorflow.python.ops import io_ops
57 save_op = io_ops.write_file(
64 io_ops.read_file(self._iterator_checkpoint_prefix()), dtypes.variant)
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py44 from tensorflow.python.ops import io_ops
3789 jpeg0 = io_ops.read_file(path)
3806 io_ops.read_file(rgb_path), channels=channels)
3808 io_ops.read_file(cmyk_path), channels=channels)
3819 jpeg0 = io_ops.read_file(os.path.join(base, "jpeg_merge_test1.jpg"))
3846 jpeg0 = io_ops.read_file(os.path.join(base, "jpeg_merge_test1.jpg"))
3933 jpeg = io_ops.read_file(path)
3944 jpeg = io_ops.read_file(path)
3957 jpeg = io_ops.read_file(path)
3978 jpeg = io_ops.read_file(path)
[all …]

12