MCPcopy Create free account
hub / github.com/alibaba/nann / cache

Method cache

tensorflow/tensorflow/python/data/ops/dataset_ops.py:932–943  ·  view source on GitHub ↗

Caches the elements in this dataset. Args: filename: A `tf.string` scalar `tf.Tensor`, representing the name of a directory on the filesystem to use for caching elements in this Dataset. If a filename is not provided, the dataset will be cached in memory. Returns:

(self, filename="")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

input_fnMethod · 0.45
fnMethod · 0.45
testOptionsOnceMethod · 0.45
testOptimizationMethod · 0.45
testCacheInputsMethod · 0.45
dataset_fnMethod · 0.45
testConcurrentWritersMethod · 0.45
testConcurrentReadersMethod · 0.45
do_testMethod · 0.45

Calls 1

CacheDatasetClass · 0.70

Tested by 15

fnMethod · 0.36
testOptionsOnceMethod · 0.36
testOptimizationMethod · 0.36
testCacheInputsMethod · 0.36
dataset_fnMethod · 0.36
testConcurrentWritersMethod · 0.36
testConcurrentReadersMethod · 0.36
do_testMethod · 0.36