W3cubDocs

/TensorFlow Python

tf.contrib.framework.add_arg_scope

tf.contrib.framework.add_arg_scope

add_arg_scope(func)

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

See the guide: Framework (contrib) > Arg_Scope

Decorates a function with args so it can be used within an arg_scope.

Args:

  • func: function to decorate.

Returns:

A tuple with the decorated function func_with_args().

© 2017 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/add_arg_scope