-
Notifications
You must be signed in to change notification settings - Fork 86
tf_upgrade_v2 for network/classification/base.py #1073
tf_upgrade_v2 for network/classification/base.py #1073
Conversation
This is the whole convert report:
As you can see in the log, there are no issues that need attention. |
tf_upgrade_v2 sometimes changed argment to keyword argument. Because API has changed by changing from tf1 to tf2. tf.reduce_sum
tf2:https://www.tensorflow.org/api_docs/python/tf/math/reduce_sum
tf.reduce_mean
tf2:https://www.tensorflow.org/api_docs/python/tf/math/reduce_mean
tf.reduce_min
tf2:https://www.tensorflow.org/api_docs/python/tf/math/reduce_min
tf.reduce_max
tf2:https://www.tensorflow.org/api_docs/python/tf/math/reduce_max
tf.transpose
tf2: https://www.tensorflow.org/api_docs/python/tf/transpose
tf.argmax
tf2:https://www.tensorflow.org/api_docs/python/tf/math/argmax
tf.reduce_any
tf2: https://www.tensorflow.org/api_docs/python/tf/math/reduce_any
tf.shape
tf2:https://www.tensorflow.org/api_docs/python/tf/shape
|
This PR needs Approvals as follows.
Please choose reviewers and requet reviews! Click to see how to approve each reviewsYou can approve this PR by triggered comments as follows.
See all trigger commentsPlease replace [Target] to review target
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RA
/ready |
⏳Merge job is queued... |
What this patch does to fix the issue.
I converted only the blueoil/network/classification/base.py with the command line tool tf_upgrade_v2 to run on tensorflow2 because there are a lot of targets in the network folder.
Here's what I did:
Link to any relevant issues or pull requests.