MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / options

Method options

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

Returns the options for this dataset and its inputs. Returns: A `tf.data.Options` object representing the dataset options.

(self)

Source from the content-addressed store, hash-verified

263 return []
264
265 def options(self):
266 """Returns the options for this dataset and its inputs.
267
268 Returns:
269 A `tf.data.Options` object representing the dataset options.
270 """
271 options = Options()
272 for input_dataset in self._inputs():
273 input_options = input_dataset.options()
274 if input_options is not None:
275 options = options.merge(input_options)
276 return options
277
278 def _apply_options(self):
279 """Apply options, such as optimization configuration, to the dataset."""

Callers 15

_apply_optionsMethod · 0.95
get_all_reqsMethod · 0.45
testOptionsDefaultMethod · 0.45
testOptionsOnceMethod · 0.45
testOptionsTwiceSameMethod · 0.45
optionsMethod · 0.45
__init__Method · 0.45

Calls 3

_inputsMethod · 0.95
mergeMethod · 0.95
OptionsClass · 0.70