Home
last modified time | relevance | path

Searched refs:_map_fn (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/data/kernel_tests/
Dfilter_test.py61 def _map_fn(x, y, z): function
66 _map_fn).repeat(count)
125 def _map_fn(i): function
134 dataset = dataset_ops.Dataset.range(10).map(_map_fn)
138 dataset, expected_output=[_map_fn(i * 2)[0] for i in range(5)])
196 def _map_fn(i): function
203 return dataset_ops.Dataset.range(10).map(_map_fn).filter(_filter_fn).map(
244 def _map_fn(i): function
251 return dataset_ops.Dataset.range(10).map(_map_fn).filter(_filter_fn).map(
Dflat_map_test.py118 def _map_fn(i): function
126 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
135 def _map_fn(i): function
146 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
158 def _map_fn(i): function
165 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
282 def _map_fn(i): function
291 return dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
Dinterleave_test.py238 def _map_fn(i): function
246 dataset = dataset_ops.Dataset.range(10).map(_map_fn).interleave(
433 def _map_fn(i): function
442 return dataset_ops.Dataset.range(10).map(_map_fn).interleave(
493 def _map_fn(i): function
502 return dataset_ops.Dataset.range(10).map(_map_fn).interleave(
Dgroup_by_window_test.py53 def _map_fn(v): function
59 math_ops.range(32)).map(_map_fn)
84 def _map_fn(v): function
90 math_ops.range(64)).map(_map_fn)
138 def _map_fn(v): function
156 128)).map(_map_fn).filter(lambda d: math_ops.equal(d["x"] % 2, 0))
Dmap_test.py138 def _map_fn(x, y, z): function
142 dataset = apply_map(dataset, _map_fn).repeat(count)
205 def _map_fn(x, y, z): function
209 dataset = apply_map(dataset, _map_fn, num_parallel_calls=num_parallel_calls)
369 def _map_fn(x): function
373 return apply_map(dataset_ops.Dataset.range(10), _map_fn)
744 def _map_fn(x): function
754 dataset = apply_map(dataset, _map_fn).prefetch(buffer_size)
780 def _map_fn(x_tensor): function
787 dataset = apply_map(dataset, _map_fn)
[all …]
Diterator_cluster_test.py162 def _map_fn(x, y, z): function
166 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
Diterator_test.py86 def _map_fn(x, y, z): function
90 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
113 def _map_fn(x, y, z): function
118 .map(_map_fn).repeat(14))
141 def _map_fn(x, y, z): function
146 .map(_map_fn).repeat(14))
Dwindow_test.py55 def _map_fn(x, y, z): function
64 _map_fn).repeat(count).window(
Dbatch_test.py73 def _map_fn(x, y, z): function
77 _map_fn).repeat(count).batch(batch_size, drop_remainder,
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dfilter_parallelization_test.py71 def _map_fn(x, y, z): function
76 _map_fn).repeat(count)
148 def _map_fn(i): function
157 dataset = dataset_ops.Dataset.range(10).map(_map_fn)
163 dataset, expected_output=[_map_fn(i * 2)[0] for i in range(5)])
270 def _map_fn(i): function
277 dataset = dataset_ops.Dataset.range(10).map(_map_fn)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmap_and_batch_test.py60 def _map_fn(x, y, z): function
67 map_func=_map_fn,
266 def _map_fn(x, y, z): function
270 1000).apply(batching.map_and_batch(_map_fn, batch_size=100))
440 def _map_fn(x): function
447 map_func=_map_fn,
474 def _map_fn(x): function
481 map_func=_map_fn,
Dparallel_interleave_test.py565 def _map_fn(i): function
573 dataset = dataset_ops.Dataset.range(10).map(_map_fn).apply(
812 def _map_fn(i): function
821 return dataset_ops.Dataset.range(10).map(_map_fn).apply(
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py3993 def _map_fn(i): function
4000 output = map_fn.map_fn(_map_fn, pfor_input.pfor.all_indices)
4161 def _map_fn(i): function
4169 output = map_fn.map_fn(_map_fn, pfor_input.pfor.all_indices)