Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
7e62af28
Commit
7e62af28
authored
Oct 18, 2022
by
Ofey Chan
Committed by
Frank Lee
Oct 19, 2022
Browse files
[NFC] polish accuracy_2d.py code style (#1719)
parent
8860d378
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
colossalai/nn/metric/accuracy_2d.py
colossalai/nn/metric/accuracy_2d.py
+1
-0
No files found.
colossalai/nn/metric/accuracy_2d.py
View file @
7e62af28
...
...
@@ -8,6 +8,7 @@ from ._utils import calc_acc
class
Accuracy2D
(
nn
.
Module
):
"""Accuracy for 2D parallelism
"""
def
__init__
(
self
):
super
().
__init__
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment