LostTech.TensorFlow : API Documentation

Type ThreadingOptions

Namespace tensorflow.data.experimental

Parent OptionsBase

Interfaces IThreadingOptions

Represents options for dataset threading.

You can set the threading options of a dataset through the `experimental_threading` property of tf.data.Options; the property is an instance of tf.data.experimental.ThreadingOptions.
Show Example
options = tf.data.Options()
            options.experimental_threading.private_threadpool_size = 10
            dataset = dataset.with_options(options) 

Properties

Public properties

PropertyInfo max_intra_op_parallelism get; set;

If set, it overrides the maximum degree of intra-op parallelism.

object max_intra_op_parallelism_dyn get; set;

If set, it overrides the maximum degree of intra-op parallelism.

PropertyInfo private_threadpool_size get; set;

If set, the dataset will use a private threadpool of the given size.

object private_threadpool_size_dyn get; set;

If set, the dataset will use a private threadpool of the given size.

object PythonObject get;