@@ -62,25 +62,17 @@ def get_expected_intermediate_outputs():
6262 Returns the expected outputs of the debug handles and intermediate output mapping for this model for the given input.
6363 """
6464 return {
65- (10 ,): torch .tensor ([[[[7.7000 , 6.7000 ], [4.7000 , 3.7000 ]]]]),
66- (11 ,): torch .tensor ([[7.7000 , 6.7000 , 4.7000 , 3.7000 ]]),
67- (12 ,): torch .tensor (
68- [
69- [0.1000 , 0.5000 ],
70- [0.2000 , 0.6000 ],
71- [0.3000 , 0.7000 ],
72- [0.4000 , 0.8000 ],
73- ]
74- ),
75- (13 ,): torch .tensor ([[5.0000 , 14.1200 ]]),
76- (14 ,): torch .tensor ([[5.5000 , 13.6200 ]]),
77- (15 ,): torch .tensor ([[5.4000 , 13.5200 ]]),
78- (16 ,): torch .tensor ([[10.8000 , 6.7600 ]]),
79- (17 ,): torch .tensor ([3.0000 , 1.5000 ]),
80- (18 ,): torch .tensor ([[3.6000 , 4.5067 ]]),
81- (19 ,): torch .tensor ([[3.6000 , 4.5067 ]]),
82- (20 ,): torch .tensor ([[0.9734 , 0.9891 ]]),
83- (21 ,): [torch .tensor ([[0.9734 ]]), torch .tensor ([[0.9891 ]])],
65+ (1 ,): torch .tensor ([[[[7.7000 , 6.7000 ], [4.7000 , 3.7000 ]]]]),
66+ (2 ,): torch .tensor ([[7.7000 , 6.7000 , 4.7000 , 3.7000 ]]),
67+ (3 ,): torch .tensor ([[5.0000 , 14.1200 ]]),
68+ (4 ,): torch .tensor ([[5.5000 , 13.6200 ]]),
69+ (5 ,): torch .tensor ([[5.4000 , 13.5200 ]]),
70+ (6 ,): torch .tensor ([[10.8000 , 6.7600 ]]),
71+ (7 ,): torch .tensor ([3.0000 , 1.5000 ]),
72+ (8 ,): torch .tensor ([[3.6000 , 4.5067 ]]),
73+ (9 ,): torch .tensor ([[3.6000 , 4.5067 ]]),
74+ (10 ,): torch .tensor ([[0.9734 , 0.9891 ]]),
75+ (11 ,): [torch .tensor ([[0.9734 ]]), torch .tensor ([[0.9891 ]])],
8476 }
8577
8678 @staticmethod
@@ -89,18 +81,17 @@ def get_expected_debug_handle_to_op_name():
8981 Returns the expected debug handle and op name mapping for this model for the given input.
9082 """
9183 return {
92- (10 ,): "aten_convolution_default" ,
93- (11 ,): "aten_view_copy_default" ,
94- (12 ,): "aten_permute_copy_default" ,
95- (13 ,): "aten_addmm_default" ,
96- (14 ,): "aten_add_tensor" ,
97- (15 ,): "aten_sub_tensor" ,
98- (16 ,): "aten_mul_tensor" ,
99- (17 ,): "aten_add_tensor_1" ,
100- (18 ,): "aten_div_tensor" ,
101- (19 ,): "aten_relu_default" ,
102- (20 ,): "aten_sigmoid_default" ,
103- (21 ,): "aten_split_with_sizes_copy_default" ,
84+ (1 ,): "aten_convolution_default" ,
85+ (2 ,): "aten_view_copy_default" ,
86+ (3 ,): "aten_addmm_default" ,
87+ (4 ,): "aten_add_tensor" ,
88+ (5 ,): "aten_sub_tensor" ,
89+ (6 ,): "aten_mul_tensor" ,
90+ (7 ,): "aten_add_tensor_1" ,
91+ (8 ,): "aten_div_tensor" ,
92+ (9 ,): "aten_relu_default" ,
93+ (10 ,): "aten_sigmoid_default" ,
94+ (11 ,): "aten_split_with_sizes_copy_default" ,
10495 }
10596
10697
0 commit comments