View source

Class DistributeOptions

Represents options for distributed data processing.


  • Class
  • Class

You can set the distribution options of a dataset through the experimental_distribute property of; the property is an instance of

options =
options.experimental_distribute.auto_shard = False
dataset = dataset.with_options(options)


View source


Initialize self. See help(type(self)) for accurate signature.



金铨达配资Whether the dataset should be automatically sharded when processedin a distributed fashion. This is applicable when using Keras with multi-worker/TPU distribution strategy, and by using strategy.experimental_distribute_dataset(). In other cases, this option does nothing. If None, defaults to True.


金铨达配资The number of devices attached to this input pipeline. This will be automatically set by MultiDeviceIterator.



View source


金铨达配资Return self==value.


View source


金铨达配资Return self!=value.

results matching ""

    No results matching ""