Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/data/experimental/ops/
Dio.py42 def save(dataset, path, compression=None, shard_func=None): argument
88 if shard_func is None:
90 shard_func = lambda *x: None # a dummy function that will not be used function
95 shard_func,
107 shard_func = wrapped_func.function
108 shard_func.add_to_graph(ops.get_default_graph())
115 shard_func_other_args=shard_func.captured_inputs,
117 shard_func=shard_func,
Dsnapshot.py203 shard_func, argument
227 shard_func,
246 shard_func=self._shard_func.function,
258 def snapshot(path, compression="AUTO", reader_func=None, shard_func=None): argument
338 if shard_func is None:
347 local_shard_func = shard_func
355 shard_func=local_shard_func)
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DSaveDataset.pbtxt23 name: "shard_func"
61 name: "shard_func"
DSnapshotDatasetV2.pbtxt47 name: "shard_func"
121 name: "shard_func"
209 name: "shard_func"
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dio_test.py66 io.save(dataset, self._test_dir, shard_func=lambda x: x // 21)
76 io.save(dataset, self._test_dir, shard_func=lambda x: x % 7)
Dsnapshot_test.py169 snapshot.snapshot(self._snapshot_dir, shard_func=lambda _: np.int64(0)))
180 snapshot.snapshot(self._snapshot_dir, shard_func=lambda _: 0))
227 self._snapshot_dir, shard_func=lambda _: "invalid_fn"))
326 snapshot.snapshot(self._snapshot_dir, shard_func=lambda i, _: i % 2))
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SnapshotDatasetV2.pbtxt29 name: "shard_func"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.pbtxt193 …argspec: "args=[\'dataset\', \'path\', \'compression\', \'shard_func\'], varargs=None, keywords=No…
205 …argspec: "args=[\'path\', \'compression\', \'reader_func\', \'shard_func\'], varargs=None, keyword…
Dtensorflow.raw_ops.pbtxt3889 …argspec: "args=[\'input_dataset\', \'path\', \'shard_func_other_args\', \'shard_func\', \'compress…
4157 …_other_args\', \'output_types\', \'output_shapes\', \'reader_func\', \'shard_func\', \'compression…
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsnapshot_dataset_op.cc124 std::unique_ptr<CapturedFunction> shard_func);
313 std::unique_ptr<CapturedFunction> shard_func) in Dataset() argument
322 shard_func_(std::move(shard_func)) { in Dataset()
891 std::unique_ptr<CapturedFunction> shard_func; in MakeDataset() local
894 kShardFuncOtherArgs, &shard_func)); in MakeDataset()
898 std::move(reader_func), std::move(shard_func)); in MakeDataset()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.pbtxt229 …argspec: "args=[\'path\', \'compression\', \'reader_func\', \'shard_func\'], varargs=None, keyword…
Dtensorflow.raw_ops.pbtxt3889 …argspec: "args=[\'input_dataset\', \'path\', \'shard_func_other_args\', \'shard_func\', \'compress…
4157 …_other_args\', \'output_types\', \'output_shapes\', \'reader_func\', \'shard_func\', \'compression…
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt43775 name: "shard_func"
46656 name: "shard_func"