We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 251b255 + 9fd9d50 commit 142f83aCopy full SHA for 142f83a
1 file changed
tensorwatch/model_graph/torchstat_utils.py
@@ -73,7 +73,7 @@ def model_stats2df(model_stats:ModelStats):
73
74
df.rename(columns={'name': 'module name',
75
'input_shape': 'input shape',
76
- 'input_shape': 'input shape',
+ 'output_shape': 'output shape',
77
'inference_memory': 'infer memory(MB)',
78
'mread': 'MemRead(B)',
79
'mwrite': 'MemWrite(B)'
@@ -87,4 +87,4 @@ def model_stats2df(model_stats:ModelStats):
87
#summary += "Total MAdd: {}MAdd\n".format(_round_value(total_operation_quantity))
88
#summary += "Total Flops: {}Flops\n".format(_round_value(total_flops))
89
#summary += "Total MemR+W: {}B\n".format(_round_value(total_memrw, True))
90
- return df
+ return df
0 commit comments