train_func_context#

property TensorflowConfig.train_func_context#

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

The base class uses contextlib.nullcontext, which does nothing.