Google I/O returns May 18-20! Reserve space and build your schedule Register now

Represents options for dataset threading.

You can set the threading options of a dataset through the experimental_threading property of; the property is an instance of

options =
options.experimental_threading.private_threadpool_size = 10
dataset = dataset.with_options(options)

max_intra_op_parallelism If set, it overrides the maximum degree of intra-op parallelism.
private_threadpool_size If set, the dataset will use a private threadpool of the given size. The value 0 can be used to indicate that the threadpool size should be determined at runtime based on the number of available CPU cores.



View source

Return self==value.


View source

Return self!=value.