diff --git a/onnxconverter_common/perfstats.py b/onnxconverter_common/perfstats.py index 62361aa..cc04aa5 100644 --- a/onnxconverter_common/perfstats.py +++ b/onnxconverter_common/perfstats.py @@ -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: @@ -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 """