tf.variable_scope

tf.variable_scope

It is a context manager that makes it easier to work with variable scopes. As the documentation describes it:

A context manager for defining ops that creates variables (layers).

This context manager validates that the (optional) values are from the same graph, ensures that graph is the default graph, and pushes a name scope and a variable scope.


猜你喜欢

转载自blog.csdn.net/honk2012/article/details/80303924
今日推荐