Home
last modified time | relevance | path

Searched refs:io_ops (Results 1 – 25 of 50) 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.py29 from tensorflow.python.ops import io_ops
38 self.evaluate(io_ops.save_v2(
41 self.evaluate(io_ops.restore_v2(
61 op = io_ops.restore_v2("model", ["var1", "var2"], ["", "3 4 0,1:-"],
70 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)
57 gif0 = io_ops.read_file(path)
86 jpeg0 = io_ops.read_file(path)
105 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
79 initializer=io_ops.read_file(image_file_path))
82 io_ops.read_file(image_file_path), channels=3, name='single_image')
/external/tensorflow/tensorflow/python/framework/
Dfile_system_test.py25 from tensorflow.python.ops import io_ops
41 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/lite/tools/
Dconvert_image_to_csv.py36 from tensorflow.python.ops import io_ops
63 file_data = io_ops.read_file(filepath)
/external/tensorflow/tensorflow/compiler/tests/
Dcase_test.py27 from tensorflow.python.ops import io_ops
70 image_ops.decode_image(io_ops.read_file('/tmp/bmp'))
/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.-whole-file-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.WholeFileReader\'>"
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.-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/python/keras/preprocessing/
Dtext_dataset.py24 from tensorflow.python.ops import io_ops
193 txt = io_ops.read_file(path)
Dimage_dataset.py28 from tensorflow.python.ops import io_ops
248 img = io_ops.read_file(path)
/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.py75 from tensorflow.python.ops import io_ops
105 wav_loader = io_ops.read_file(wav_filename_placeholder)
/external/tensorflow/tensorflow/cc/saved_model/testdata/
Dgenerate_saved_models.py32 from tensorflow.python.ops import io_ops
83 return io_ops.read_file(self.asset)
/external/tensorflow/tensorflow/python/training/saving/
Dfunctional_saver.py30 from tensorflow.python.ops import io_ops
83 return io_ops.save_v2(file_prefix, tensor_names, tensor_slices, tensors)
108 restored_tensors = io_ops.restore_v2(
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py53 from tensorflow.python.ops import io_ops
4195 jpeg0 = io_ops.read_file(path)
4212 io_ops.read_file(rgb_path), channels=channels)
4214 io_ops.read_file(cmyk_path), channels=channels)
4225 jpeg0 = io_ops.read_file(os.path.join(base, "jpeg_merge_test1.jpg"))
4251 jpeg0 = io_ops.read_file(os.path.join(base, "jpeg_merge_test1.jpg"))
4338 jpeg = io_ops.read_file(path)
4348 jpeg = io_ops.read_file(path)
4361 jpeg = io_ops.read_file(path)
4384 jpeg = io_ops.read_file(path)
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dignore_errors_test.py34 from tensorflow.python.ops import io_ops
105 io_ops.read_file,
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_utils.py27 from tensorflow.python.ops import io_ops
426 restore_op = io_ops.restore_v2(

12