Home
last modified time | relevance | path

Searched defs:map_fn (Results 1 – 25 of 32) sorted by relevance

12

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dmap_vectorization_test.py203 map_fn, argument
246 def _testOptimization(self, map_fn, dataset_factory, num_parallel_calls): argument
258 map_fn = lambda x: (x, x + 1) function
268 map_fn = lambda x: x + value function
277 map_fn = lambda x: math_ops.cast(x, dtypes.float64) function
286 map_fn = lambda x: 2 function
295 def map_fn(x): function
308 map_fn = lambda x: array_ops.reshape(x, (-1, 30)) function
334 def testUnaryBitwiseOperations(self, map_fn, num_parallel_calls): argument
343 def testUnaryLogicalOperations(self, map_fn, num_parallel_calls): argument
[all …]
Dhoist_random_uniform_test.py89 def testHoistFunction(self, map_fn, should_optimize): argument
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dpreprocessing_stage.py76 def map_fn(x): function
210 def map_fn(*x): function
214 def map_fn(*x): function
270 def map_fn(*x, j=i): function
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dflat_map_dataset_serialization_test.py47 def map_fn(x): function
61 def map_fn(y): function
75 def map_fn(x): function
105 def map_fn(x): function
Dchoose_fastest_dataset_serialization_test.py41 map_fn = lambda x: x * 2 function
Dmap_and_batch_dataset_serialization_test.py95 def map_fn(i): function
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmap_and_batch_test.py330 map_fn = lambda x: x function
339 map_fn = lambda x: (x, x) function
348 map_fn = lambda x, y: (y, x) function
359 map_fn = lambda x, y: x function
380 def map_fn(x): function
Dparallel_interleave_test.py72 def map_fn(x): function
626 def map_fn(x): function
711 map_fn = lambda x: dataset_ops.Dataset.range(20 * x, 20 * (x + 1)) function
Doptimize_dataset_test.py59 def map_fn(x): function
Dsnapshot_test.py565 def map_fn(x): function
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmap_vectorization_test.cc72 FunctionDef* map_fn = graph->graph()->mutable_library()->add_function(); in AddMapFn() local
85 const string& map_fn, int num_parallel_calls = 0) { in AddMapNode()
294 auto map_fn = AddMapFn(&graph); in TEST_P() local
342 const string& input_dataset, const string& map_fn, in AddMapAndBatchNode()
371 auto map_fn = AddMapFn(&graph); in TEST_P() local
404 auto map_fn = AddMapFn(&graph); in TEST_P() local
521 auto map_fn = AddMapFn(&graph); in TEST() local
540 auto map_fn = AddMapFn(&graph); in TEST() local
559 auto map_fn = AddMapFn(&graph); in TEST() local
577 auto map_fn = AddMapFn(&graph); in TEST() local
/external/tensorflow/tensorflow/python/data/experimental/benchmarks/
Dmap_vectorization_benchmark.py108 def _compare(self, input_dataset, map_fn, batch_size, input_size, str_id): argument
176 def _benchmark_helper(self, map_fn, str_id, base_dataset_factory=None): argument
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_map_ops.py30 def map_fn(fn, function
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dbatching.py441 map_fn = lambda *value: nest.map_structure(to_ragged_variant, value) function
443 map_fn = lambda value: nest.map_structure(to_ragged_variant, value) function
/external/tensorflow/tensorflow/python/data/util/
Dtraverse_test.py91 def map_fn(ds): function
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dreduce_test.py125 def map_fn(i): function
208 def map_fn(x): function
Dbatch_test.py111 def map_fn(i): function
Diterator_test.py693 def map_fn(target, handle): function
1004 def map_fn(x): function
Dshuffle_test.py316 def map_fn(x): function
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_integration_test.py154 def map_fn(_): function
/external/tensorflow/tensorflow/python/ops/
Dmap_fn.py47 def map_fn(fn, function
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils.py107 def map_structure_with_atomic(is_atomic_fn, map_fn, nested): argument
/external/tensorflow/tensorflow/python/debug/lib/
Dcheck_numerics_callback_test.py93 def map_fn(x): function
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib_test.py1095 def map_fn(per_replica_values): function
1238 def map_fn(per_replica_values): function
1359 def map_fn(offset, batch_size): function
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_wrapper_impl.py507 def _enumerated_map_structure_up_to(shallow_structure, map_fn, *args, **kwargs): argument

12