Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.contrib.framework.has_arg_scope

tf.contrib.framework.has_arg_scope(func)

Defined in tensorflow/contrib/framework/python/ops/arg_scope.py.

Checks whether a func has been decorated with @add_arg_scope or not.

Args:

  • func: function to check.

Returns:

a boolean.