Home
last modified time | relevance | path

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

1234

/external/fio/
Dioengines.c165 dprint(FD_IO, "free ioengine %s\n", td->io_ops->name); in free_ioengine()
167 if (td->eo && td->io_ops->options) { in free_ioengine()
168 options_free(td->io_ops->options, td->eo); in free_ioengine()
176 td->io_ops = NULL; in free_ioengine()
181 dprint(FD_IO, "close ioengine %s\n", td->io_ops->name); in close_ioengine()
183 if (td->io_ops->cleanup) { in close_ioengine()
184 td->io_ops->cleanup(td); in close_ioengine()
198 if (td->io_ops->prep) { in td_io_prep()
199 int ret = td->io_ops->prep(td, io_u); in td_io_prep()
225 if (min > 0 && td->io_ops->commit) { in td_io_getevents()
[all …]
Dmemory.c308 if (td->io_ops->iomem_alloc) { in allocate_io_mem()
313 ret = td->io_ops->iomem_alloc(td, total_mem); in allocate_io_mem()
342 if (td->io_ops->iomem_alloc) { in free_io_mem()
343 if (td->io_ops->iomem_free) in free_io_mem()
344 td->io_ops->iomem_free(td); in free_io_mem()
Dfilesetup.c246 if (td->io_ops->open_file(td, f)) { in pre_read_file()
294 td->io_ops->close_file(td, f); in pre_read_file()
333 if (td->io_ops->open_file(td, f)) { in bdev_size()
351 td->io_ops->close_file(td, f); in bdev_size()
354 td->io_ops->close_file(td, f); in bdev_size()
364 if (td->io_ops->open_file(td, f)) { in char_size()
382 td->io_ops->close_file(td, f); in char_size()
385 td->io_ops->close_file(td, f); in char_size()
463 if (td->io_ops->invalidate) { in __file_invalidate_cache()
464 dprint(FD_IO, "invalidate %s cache %s\n", td->io_ops->name, in __file_invalidate_cache()
[all …]
Dprofile.c100 if (ops->io_ops) { in profile_add_hooks()
101 td->prof_io_ops = *ops->io_ops; in profile_add_hooks()
/external/tensorflow/tensorflow/python/kernel_tests/
Dio_ops_test.py26 from tensorflow.python.ops import io_ops
41 read = io_ops.read_file(temp.name)
55 w = io_ops.write_file(temp.name, contents)
69 w = io_ops.write_file(filepath, contents)
95 io_ops.matching_files(f.name).eval(), compat.as_bytes(f.name))
102 set(io_ops.matching_files(pattern % 'z').eval()),
105 set(io_ops.matching_files(pattern % '?').eval()),
108 set(io_ops.matching_files(pattern % '*').eval()),
114 set(io_ops.matching_files(pattern % '[cxz]').eval()),
117 set(io_ops.matching_files(pattern % '[0-9]').eval()),
[all …]
Ddecode_image_op_test.py27 from tensorflow.python.ops import io_ops
40 bmp0 = io_ops.read_file(path)
56 gif0 = io_ops.read_file(path)
85 jpeg0 = io_ops.read_file(path)
104 png0 = io_ops.read_file(path)
Dsave_restore_ops_test.py24 from tensorflow.python.ops import io_ops
44 op = io_ops.restore_v2("model", ["var1", "var2"], ["", "3 4 0,1:-"],
52 io_ops.restore_v2("model", ["var1", "var2", "var3"], ["", "3 4 0,1:-"],
Dreader_ops_test.py35 from tensorflow.python.ops import io_ops
89 reader = io_ops.IdentityReader("test_reader")
123 reader = io_ops.IdentityReader("test_reader")
144 reader = io_ops.IdentityReader("test_reader")
199 reader = io_ops.IdentityReader("test_reader")
250 reader = io_ops.WholeFileReader("test_reader")
266 reader = io_ops.WholeFileReader("test_reader")
309 reader = io_ops.TextLineReader(name="test_reader")
334 reader = io_ops.TextLineReader(skip_header_lines=1, name="test_reader")
490 reader = io_ops.FixedLengthRecordReader(
[all …]
Ddecode_jpeg_op_test.py30 from tensorflow.python.ops import io_ops
72 initializer=io_ops.read_file(image_file_path))
75 io_ops.read_file(image_file_path), channels=3, name='single_image')
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dio_ops_test.py21 from tensorflow.contrib.labeled_tensor.python.ops import io_ops
58 'a': io_ops.FixedLenFeature([], dtypes.int64),
59 'b': io_ops.FixedLenFeature([('x', 3)], dtypes.int64)
69 parsed = io_ops.parse_example(self.serialized, self.features)
77 io_ops.parse_example(serialized, self.features)
85 parsed = io_ops.parse_single_example(self.serialized[0], self.features)
90 features = {'a': io_ops.FixedLenFeature([('x', None)], dtypes.int64)}
93 io_ops.parse_single_example(serialized, features)
99 placeholder_lt = io_ops.placeholder(dtypes.float32, [])
103 placeholder_lt = io_ops.placeholder(dtypes.float32,
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Dgraph_io_test.py35 from tensorflow.python.ops import io_ops
84 io_ops.TFRecordReader,
96 io_ops.TFRecordReader,
108 io_ops.TFRecordReader,
120 io_ops.TFRecordReader,
132 io_ops.TFRecordReader,
144 io_ops.TFRecordReader,
156 io_ops.TFRecordReader,
168 io_ops.TFRecordReader,
180 io_ops.TFRecordReader,
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dparallel_reader_test.py29 from tensorflow.python.ops import io_ops
48 io_ops.TFRecordReader, shared_queue, num_readers=num_readers)
88 io_ops.TFRecordReader, shared_queue, num_readers=5)
169 self._tfrecord_paths, reader_class=io_ops.TFRecordReader, num_readers=3)
196 tfrecord_path, reader_class=io_ops.TFRecordReader)
213 tfrecord_path, reader_class=io_ops.TFRecordReader)
DBUILD74 "//tensorflow/python:io_ops",
88 "//tensorflow/python:io_ops",
109 "//tensorflow/python:io_ops",
/external/tensorflow/tensorflow/contrib/labeled_tensor/
DBUILD18 ":io_ops",
86 name = "io_ops",
87 srcs = ["python/ops/io_ops.py"],
108 ":io_ops",
/external/tensorflow/tensorflow/docs_src/extend/
Dnew_data_formats.md102 [`tensorflow/core/ops/io_ops.cc`](https://www.tensorflow.org/code/tensorflow/core/ops/io_ops.cc),
172 For the latter, you will import `tensorflow.python.ops.io_ops` in
174 and add a descendant of [`io_ops.ReaderBase`](https://www.tensorflow.org/code/tensorflow/python/ops…
179 from tensorflow.python.ops import io_ops
181 class SomeReader(io_ops.ReaderBase):
192 [`tensorflow/python/ops/io_ops.py`](https://www.tensorflow.org/code/tensorflow/python/ops/io_ops.py…
/external/tensorflow/tensorflow/python/framework/
Dfile_system_test.py26 from tensorflow.python.ops import io_ops
41 reader = io_ops.WholeFileReader("test_reader")
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py36 from tensorflow.python.ops import io_ops
120 wav_loader = io_ops.read_file(wav_filename_placeholder)
141 wav_saver = io_ops.write_file(wav_filename_placeholder, wav_encoder)
316 wav_loader = io_ops.read_file(wav_filename_placeholder)
351 wav_loader = io_ops.read_file(self.wav_filename_placeholder_)
512 wav_loader = io_ops.read_file(wav_filename_placeholder)
/external/tensorflow/tensorflow/contrib/cloud/
DBUILD53 "//tensorflow/python:io_ops",
69 "//tensorflow/python:io_ops",
/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dbigquery_reader_ops.py23 from tensorflow.python.ops import io_ops
26 class BigQueryReader(io_ops.ReaderBase):
/external/tensorflow/tensorflow/tools/api/golden/
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.-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.-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.-fixed-length-record-reader.pbtxt3 is_instance: "<class \'tensorflow.python.ops.io_ops.FixedLengthRecordReader\'>"
4 is_instance: "<class \'tensorflow.python.ops.io_ops.ReaderBase\'>"

1234