Searched refs:io_ops (Results 1 – 25 of 50) sorted by relevance
12
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | io_ops_test.py | 27 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 …]
|
D | save_restore_ops_test.py | 29 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:-"],
|
D | decode_image_op_test.py | 28 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)
|
D | reader_ops_test.py | 35 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 …]
|
D | decode_jpeg_op_test.py | 30 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/ |
D | file_system_test.py | 25 from tensorflow.python.ops import io_ops 41 reader = io_ops.WholeFileReader("test_reader")
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | range_dataset_serialization_test.py | 32 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/ |
D | convert_image_to_csv.py | 36 from tensorflow.python.ops import io_ops 63 file_data = io_ops.read_file(filepath)
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | case_test.py | 27 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/ |
D | tensorflow.-t-f-record-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.TFRecordReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-l-m-d-b-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.LMDBReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-identity-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.IdentityReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-whole-file-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.WholeFileReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-text-line-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.TextLineReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-fixed-length-record-reader.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.FixedLengthRecordReader\'>" 4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
D | tensorflow.-reader-base.pbtxt | 3 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | text_dataset.py | 24 from tensorflow.python.ops import io_ops 193 txt = io_ops.read_file(path)
|
D | image_dataset.py | 28 from tensorflow.python.ops import io_ops 248 img = io_ops.read_file(path)
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | input_data.py | 36 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)
|
D | test_streaming_accuracy.py | 75 from tensorflow.python.ops import io_ops 105 wav_loader = io_ops.read_file(wav_filename_placeholder)
|
/external/tensorflow/tensorflow/cc/saved_model/testdata/ |
D | generate_saved_models.py | 32 from tensorflow.python.ops import io_ops 83 return io_ops.read_file(self.asset)
|
/external/tensorflow/tensorflow/python/training/saving/ |
D | functional_saver.py | 30 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/ |
D | image_ops_test.py | 53 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/ |
D | ignore_errors_test.py | 34 from tensorflow.python.ops import io_ops 105 io_ops.read_file,
|
/external/tensorflow/tensorflow/python/training/ |
D | checkpoint_utils.py | 27 from tensorflow.python.ops import io_ops 426 restore_op = io_ops.restore_v2(
|
12