Aliases:
tf.contrib.distribute.has_distribution_strategy
tf.distribute.has_strategy
tf.distribute.has_strategy()
Defined in tensorflow/python/distribute/distribution_strategy_context.py
.
Return if there is a current non-default tf.distribute.Strategy
.
Returns:
True if inside a with strategy.scope():
.