Class | Description |
---|---|
Config | |
OpStats | |
ProfileAnalyzer |
A profile analyzer, used for analyzing Chrome-format profiler dumps generated by both SameDiff's
ProfilingListener and TensorFlow's profiler.Has methods for summarizing profiler statistics, as well as comparing two profiler dumps. Also supports analyzing/aggregating multiple JSON files in a directory, via the "...Directory(...)" methods. |
Enum | Description |
---|---|
ProfileAnalyzer.OutputFormat |
TEXT: Human readable, columns padded for alignment
CSV: CSV format, comma separated |
ProfileAnalyzer.ProfileFormat |
Chrome profiler supports 2 formats:
SameDiff == JSON Array Format TensorFlow == JSON Object Format |
ProfileAnalyzer.SortBy |
Only applicable for profile comparisons.
PROFILE1_PC - sort by profile 1 percentage of total time PROFILE2_PC - sort by profile 2 percentage of total time RATIO - sort by highest ratio (mean op time profile 1 / mean op time profile 2) |
Copyright © 2020. All rights reserved.