Skip to content

Add type and shape information to profiled numbers#10773

Merged
RandySheriffH merged 4 commits intomasterfrom
ProfilerEnhancement
Mar 7, 2022
Merged

Add type and shape information to profiled numbers#10773
RandySheriffH merged 4 commits intomasterfrom
ProfilerEnhancement

Conversation

@RandySheriffH
Copy link
Contributor

@RandySheriffH RandySheriffH commented Mar 4, 2022

E.g.

[
...
{"cat" : "Node","pid" :30704,"tid" :26028,"dur" :246,"ts" :1326720,"ph" : "X","name" :"Add_0_kernel_time","args" : ... ,"input_type_shape" : [{"int32":[4096]},{"int32":[4096]}],"output_type_shape" : [{"int32":[4096]}], ... }
...
]

perf view also enhanced to demonstrate the input and output type and shapes:

image

@RandySheriffH RandySheriffH changed the title Add type and shape information to input and output of each node. Add type and shape information to profiled numbers Mar 4, 2022
@RandySheriffH RandySheriffH merged commit a4b5fa3 into master Mar 7, 2022
@RandySheriffH RandySheriffH deleted the ProfilerEnhancement branch March 7, 2022 18:17
lavanyax pushed a commit to intel/onnxruntime that referenced this pull request Mar 29, 2022
* add func to collect type shape

* reformat

* refactor perf view

* remove obsolete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants