Skip to content

Commit

Permalink
fixed typo (#233)
Browse files Browse the repository at this point in the history
Co-authored-by: xiaowuhu <xiaowuhu@microsoft.com>
  • Loading branch information
atinfinity and xiaowuhu authored Apr 2, 2024
1 parent 00f2ad5 commit 7d8b4e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions onnxconverter_common/perfstats.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Script is standalone and can be downloaded and run as prefstats.py
Ex:
python -m onnxconvert_common.perfstats -t -l 5 trace.json # List durations by optype
python -m onnxconverter_common.perfstats -t -l 5 trace.json # List durations by optype
(or python perfstats.py -t -l 5 trace.json)
Result:
Expand Down Expand Up @@ -48,11 +48,11 @@
_HELP_TEXT = """
Usage Examples:
python -m onnxconvert_common.perfstats -t trace.json # List results by type
python -m onnxconvert_common.perfstats -n -l 10 trace.json # List top 10 nodes
python -m onnxconvert_common.perfstats -n trace.json -q t=Conv # List conv nodes
python -m onnxconvert_common.perfstats -n trace.json -q t!=Conv # List non-conv nodes
python -m onnxconvert_common.perfstats -n trace.json -q t=Conv;n!=NAME # List conv nodes except NAME
python -m onnxconverter_common.perfstats -t trace.json # List results by type
python -m onnxconverter_common.perfstats -n -l 10 trace.json # List top 10 nodes
python -m onnxconverter_common.perfstats -n trace.json -q t=Conv # List conv nodes
python -m onnxconverter_common.perfstats -n trace.json -q t!=Conv # List non-conv nodes
python -m onnxconverter_common.perfstats -n trace.json -q t=Conv;n!=NAME # List conv nodes except NAME
"""


Expand Down

0 comments on commit 7d8b4e9

Please sign in to comment.