Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

tfr.keras.strategy_utils.strategy_scope

Gets the strategy.scope() for training with strategy.

Example usage:

with strategy_scope(strategy):
  model = ...

strategy Distributed training strategy is used.

ContextManager for the distributed training strategy.