/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | parallel_interleave_dataset_serialization_test.py | 38 def _build_ds(self, cycle_length, block_length, sloppy=False): argument 43 cycle_length, block_length, sloppy))) 47 cycle_length = 2 50 lambda: self._build_ds(cycle_length, block_length), 51 lambda: self._build_ds(cycle_length * 2, block_length * 1), 54 cycle_length = 1 56 self.run_core_tests(lambda: self._build_ds(cycle_length, block_length), 59 cycle_length = 2 61 self.run_core_tests(lambda: self._build_ds(cycle_length, block_length), 70 def run_test(cycle_length, block_length): argument [all …]
|
D | interleave_dataset_serialization_test.py | 34 def _build_iterator_graph(self, input_values, cycle_length, block_length, argument 40 cycle_length, block_length, num_parallel_calls) 52 def testSerializationCore(self, cycle_length, block_length, argument 59 input_values, cycle_length, block_length, num_parallel_calls), 61 input_values, cycle_length * 2, block_length, num_parallel_calls), 77 _interleave_fn, cycle_length=1)
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | interleave_test.py | 33 def _interleave(lists, cycle_length, block_length): argument 53 for i in range(cycle_length): 61 for i in range(cycle_length): 113 def testPythonImplementation(self, input_values, cycle_length, block_length, argument 118 expected_elements, _interleave(input_lists, cycle_length, 142 def testInterleaveDataset(self, input_values, cycle_length, block_length, argument 148 cycle_length, block_length, num_parallel_calls) 151 _repeat(input_values, count), cycle_length, block_length) 170 def testInterleaveDatasetError(self, input_values, cycle_length, block_length, argument 174 dataset_ops.Dataset.from_tensors, cycle_length, block_length, [all …]
|
D | from_generator_test.py | 111 interleave_fn, cycle_length=10, block_length=len(input_list)) 163 interleave_fn, cycle_length=num_parallel_iterators, block_length=1)
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | parallel_interleave_test.py | 59 def dataset_fn(self, input_values, cycle_length, block_length, sloppy, argument 83 interleave_fn, cycle_length, block_length, sloppy, 86 def _interleave(self, lists, cycle_length, block_length): argument 96 for i in range(cycle_length): 104 for i in range(cycle_length): 178 cycle_length=1, 209 cycle_length=2, 237 cycle_length=2, 279 cycle_length=2, 319 cycle_length=2, [all …]
|
D | reader_dataset_ops_test_base.py | 170 def _interleave(self, iterators, cycle_length): argument 174 for i in range(cycle_length): 180 for i in range(min(cycle_length, len(open_iterators))): 196 cycle_length=1): argument 203 def _next_record_interleaved(file_indices, cycle_length): argument 205 cycle_length) 215 if cycle_length == 1: 218 next_records = _next_record_interleaved(file_indices, cycle_length) 264 cycle_length=interleave_cycle_length): 314 def _interleave(self, iterators, cycle_length): argument [all …]
|
D | cardinality_test.py | 83 lambda _: dataset_ops.Dataset.from_tensors(0), cycle_length=1), 87 cycle_length=1,
|
D | rebatch_dataset_test.py | 281 32, drop_remainder=drop_remainder), cycle_length=2) 303 32, drop_remainder=drop_remainder), cycle_length=2,
|
/external/tensorflow/tensorflow/contrib/data/python/ops/ |
D | interleave_ops.py | 27 cycle_length, argument 76 map_func, cycle_length, block_length, sloppy, buffer_output_elements, 82 def sloppy_interleave(map_func, cycle_length, block_length=1): argument 132 map_func, cycle_length, block_length, sloppy=True)
|
/external/webrtc/webrtc/video/ |
D | full_stack_plot.py | 213 def __init__(self, fields, data_list, cycle_length=None, frames=None, argument 217 self.cycle_length = cycle_length 245 if self.cycle_length: 246 line.values = average_over_cycle(line.values, self.cycle_length) 269 if self.cycle_length: 270 x = numpy.array(range(self.cycle_length)) 340 cycle_length = None 351 cycle_length = values[0] 376 return PlotConfig(fields, load_files(files), cycle_length=cycle_length,
|
/external/autotest/client/tests/uptime/ |
D | control | 9 The test repeatedly executes kernbench during T=cycle_length seconds and then 17 def uptime_test(cycle_length = 300, target_time = 3*60*60): 22 while time.time() < kernbench_started + cycle_length: 25 job.run_test('sleeptest', tag='%d' % counter, seconds=cycle_length)
|
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/ |
D | parallel_interleave_benchmark.py | 79 _make_fake_dataset_fn(), cycle_length=10) 89 _make_fake_dataset_fn(), cycle_length=10)) 99 cycle_length=10, num_parallel_calls=optimization.AUTOTUNE)
|
D | autotune_benchmark.py | 122 cycle_length=10, 173 cycle_length=2) 180 cycle_length=2)
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | interleave_dataset_op.cc | 46 const int64 cycle_length = cycle_length_t->flat<int64>()(0); in MakeDataset() local 48 ctx, cycle_length > 0, in MakeDataset() 65 new Dataset(ctx, input, func_, std::move(captured_func), cycle_length, in MakeDataset() 74 std::unique_ptr<CapturedFunction> captured_func, int64 cycle_length, in Dataset() argument 81 cycle_length_(cycle_length), in Dataset()
|
D | parallel_interleave_dataset_op.cc | 65 int64 cycle_length = 0; in MakeDataset() local 67 ParseScalarArgument(ctx, "cycle_length", &cycle_length)); in MakeDataset() 68 OP_REQUIRES(ctx, cycle_length > 0, in MakeDataset() 85 ctx, num_parallel_calls <= cycle_length, in MakeDataset() 100 cycle_length, block_length, num_parallel_calls, sloppy_, in MakeDataset() 109 std::unique_ptr<CapturedFunction> captured_func, int64 cycle_length, in Dataset() argument 117 cycle_length_(cycle_length), in Dataset()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils_test.py | 116 lambda _: dataset_ops.Dataset.from_tensors(0), cycle_length=1), 120 cycle_length=1, 164 lambda _: dataset_ops.Dataset.from_tensors(0), cycle_length=1), 173 cycle_length=1,
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | readers.py | 125 def __init__(self, input_dataset, map_func, cycle_length, block_length, argument 136 cycle_length, dtype=dtypes.int64, name="cycle_length") 148 argument_default=2 * cycle_length) 225 filenames, read_one_file, cycle_length=num_parallel_reads,
|
D | dataset_ops.py | 1059 cycle_length, argument 1135 return InterleaveDataset(self, map_func, cycle_length, block_length) 1137 return ParallelInterleaveDataset(self, map_func, cycle_length, 1714 cycle_length, argument 1718 map_func, cycle_length, block_length, num_parallel_calls)) 3103 def __init__(self, input_dataset, map_func, cycle_length, block_length): argument 3114 cycle_length, dtype=dtypes.int64, name="cycle_length") 3141 def __init__(self, input_dataset, map_func, cycle_length, block_length, argument 3153 cycle_length, dtype=dtypes.int64, name="cycle_length")
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | interleave_ops.py | 42 cycle_length, argument 92 dataset, map_func, cycle_length, block_length, sloppy,
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | parallel_interleave_dataset_op.cc | 48 int64 cycle_length = 0; in MakeDataset() local 50 ParseScalarArgument(ctx, "cycle_length", &cycle_length)); in MakeDataset() 51 OP_REQUIRES(ctx, cycle_length > 0, in MakeDataset() 84 cycle_length, block_length, sloppy, buffer_output_elements, in MakeDataset() 93 std::unique_ptr<CapturedFunction> captured_func, int64 cycle_length, in Dataset() argument 101 cycle_length_(cycle_length), in Dataset()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_InterleaveDataset.pbtxt | 18 consecutive elements from `cycle_length` input elements.
|
/external/tensorflow/tensorflow/python/tpu/ |
D | datasets.py | 147 reader_fn, cycle_length=num_parallel_reads, sloppy=sloppy))
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.data.-dataset.pbtxt | 47 …argspec: "args=[\'self\', \'map_func\', \'cycle_length\', \'block_length\', \'num_parallel_calls\'…
|
D | tensorflow.data.experimental.-random-dataset.pbtxt | 49 …argspec: "args=[\'self\', \'map_func\', \'cycle_length\', \'block_length\', \'num_parallel_calls\'…
|
D | tensorflow.data.-text-line-dataset.pbtxt | 49 …argspec: "args=[\'self\', \'map_func\', \'cycle_length\', \'block_length\', \'num_parallel_calls\'…
|