TensorflowConfig#

class ray.train.tensorflow.TensorflowConfig[source]#

Bases: BackendConfig

Configuration for TensorFlow distributed training setup.

Ray Train sets the TF_CONFIG environment variable on each worker from the addresses of all the workers. This config takes no arguments.

PublicAPI (beta): This API is in beta and may change before becoming stable.

Methods

Attributes

backend_cls

The Backend class that sets up this framework on the workers.

framework

The training framework this config sets up.

train_func_context

The context manager class wrapping each worker's training function.