W3cubDocs

/TensorFlow Python

tf.contrib.framework.has_arg_scope

tf.contrib.framework.has_arg_scope(func)

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

See the guide: Framework (contrib) > Arg_Scope

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

Args:

  • func: function to check.

Returns:

a boolean.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/framework/has_arg_scope