Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dparallel_map_dataset_serialization_test.py51 def _map_fn(x, y, z): function
55 _map_fn, num_parallel_calls=3).repeat(self._num_epochs))
62 def _map_fn(x, y, z): function
66 _map_fn, num_parallel_calls=3).repeat(self._num_epochs).prefetch(5))
77 def _map_fn(x): function
82 _map_fn, num_parallel_calls=2).prefetch(2)
Dmap_and_batch_dataset_serialization_test.py50 def _map_fn(x): function
56 map_func=_map_fn,
76 def _map_fn(x): function
82 map_func=_map_fn,
Dmap_dataset_serialization_test.py52 def _map_fn(x, y, z): function
56 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
68 def _map_fn(x): function
72 return dataset_ops.Dataset.range(100).map(_map_fn)
Dinterleave_dataset_serialization_test.py65 def _map_fn(i): function
74 return dataset_ops.Dataset.range(10).map(_map_fn).interleave(
Dfilter_dataset_serialization_test.py59 def _map_fn(i): function
66 return dataset_ops.Dataset.range(10).map(_map_fn).filter(_filter_fn).map(
Dparallel_interleave_dataset_serialization_test.py90 def _map_fn(i): function
99 return dataset_ops.Dataset.range(10).map(_map_fn).apply(
Dflat_map_dataset_serialization_test.py118 def _map_fn(i): function
127 return dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dflat_map_test.py117 def _map_fn(i): function
125 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
134 def _map_fn(i): function
145 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
157 def _map_fn(i): function
164 dataset = dataset_ops.Dataset.range(10).map(_map_fn).flat_map(_flat_map_fn)
Dfilter_test.py64 def _map_fn(x, y, z): function
69 _map_fn).repeat(count)
128 def _map_fn(i): function
137 dataset = dataset_ops.Dataset.range(10).map(_map_fn)
141 dataset, expected_output=[_map_fn(i * 2)[0] for i in range(5)])
Dmap_test.py166 def _map_fn(x, y, z): function
170 dataset = apply_map(dataset, _map_fn).repeat(count)
233 def _map_fn(x, y, z): function
237 dataset = apply_map(dataset, _map_fn, num_parallel_calls=num_parallel_calls)
397 def _map_fn(x): function
401 return apply_map(dataset_ops.Dataset.range(10), _map_fn)
741 def _map_fn(x): function
751 dataset = apply_map(dataset, _map_fn).prefetch(buffer_size)
777 def _map_fn(x_tensor): function
784 dataset = apply_map(dataset, _map_fn)
[all …]
Diterator_cluster_test.py166 def _map_fn(x, y, z): function
170 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
Dbatch_test.py68 def _map_fn(x, y, z): function
72 _map_fn).repeat(count).batch(batch_size, drop_remainder,
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.py58 def _map_fn(x, y, z): function
67 _map_fn).repeat(count).window(
Dinterleave_test.py234 def _map_fn(i): function
242 dataset = dataset_ops.Dataset.range(10).map(_map_fn).interleave(
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dgroup_by_window_test.py57 def _map_fn(v): function
62 math_ops.range(32)).map(_map_fn)
87 def _map_fn(v): function
92 math_ops.range(64)).map(_map_fn)
140 def _map_fn(v): function
158 128)).map(_map_fn).filter(lambda d: math_ops.equal(d["x"] % 2, 0))
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))
Dparallel_interleave_test.py566 def _map_fn(i): function
574 dataset = dataset_ops.Dataset.range(10).map(_map_fn).apply(
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py3744 def _map_fn(i): function
3751 output = map_fn.map_fn(_map_fn, pfor_input.pfor.all_indices)
3912 def _map_fn(i): function
3920 output = map_fn.map_fn(_map_fn, pfor_input.pfor.all_indices)