.compat.v1.
を付け加える
>>> tf.get_variable_scope()
AttributeError: module 'tensorflow' has no attribute 'variable_scope'
>>> tf.compat.v1.get_variable_scope()
<tensorflow.python.ops.variable_scope.VariableScope at 0x7f41e7efb198>
Go to list of users who liked
More than 3 years have passed since last update.
.compat.v1.
を付け加える
>>> tf.get_variable_scope()
AttributeError: module 'tensorflow' has no attribute 'variable_scope'
>>> tf.compat.v1.get_variable_scope()
<tensorflow.python.ops.variable_scope.VariableScope at 0x7f41e7efb198>
Register as a new user and use Qiita more conveniently
Go to list of users who liked