Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philippe SWARTVAGHER
memory-contention
Commits
de290cd1
Commit
de290cd1
authored
Nov 17, 2021
by
Philippe SWARTVAGHER
Browse files
plot/CompMetric: add __repr__
parent
fbb8f2c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
plot/comm_comp.py
View file @
de290cd1
...
...
@@ -22,6 +22,9 @@ class CompMetric(Enum):
TIME
=
"time"
FLOPS
=
"flops"
def
__repr__
(
self
):
return
self
.
name
class
CompType
(
abc
.
ABC
):
pass
...
...
Write
Preview
Supports
Markdown
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