@@ -13,7 +13,7 @@ def default():
13
13
14
14
x = Tensor (Dtype .U32 , x .shape , x .flatten ())
15
15
y = Tensor (Dtype .U32 , y .shape , y .flatten ())
16
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
16
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
17
17
18
18
name = "equal_u32"
19
19
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -25,7 +25,7 @@ def broadcast():
25
25
26
26
x = Tensor (Dtype .U32 , x .shape , x .flatten ())
27
27
y = Tensor (Dtype .U32 , y .shape , y .flatten ())
28
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
28
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
29
29
30
30
name = "equal_u32_broadcast"
31
31
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -42,7 +42,7 @@ def default():
42
42
43
43
x = Tensor (Dtype .I32 , x .shape , x .flatten ())
44
44
y = Tensor (Dtype .I32 , y .shape , y .flatten ())
45
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
45
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
46
46
47
47
name = "equal_i32"
48
48
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -54,7 +54,7 @@ def broadcast():
54
54
55
55
x = Tensor (Dtype .I32 , x .shape , x .flatten ())
56
56
y = Tensor (Dtype .I32 , y .shape , y .flatten ())
57
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
57
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
58
58
59
59
name = "equal_i32_broadcast"
60
60
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -71,7 +71,7 @@ def default():
71
71
72
72
x = Tensor (Dtype .I8 , x .shape , x .flatten ())
73
73
y = Tensor (Dtype .I8 , y .shape , y .flatten ())
74
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
74
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
75
75
76
76
name = "equal_i8"
77
77
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -83,7 +83,7 @@ def broadcast():
83
83
84
84
x = Tensor (Dtype .I8 , x .shape , x .flatten ())
85
85
y = Tensor (Dtype .I8 , y .shape , y .flatten ())
86
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
86
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
87
87
88
88
name = "equal_i8_broadcast"
89
89
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -102,7 +102,7 @@ def default():
102
102
x .flatten (), FixedImpl .FP8x23 ))
103
103
y = Tensor (Dtype .FP8x23 , y .shape , to_fp (
104
104
y .flatten (), FixedImpl .FP8x23 ))
105
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
105
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
106
106
107
107
name = "equal_fp8x23"
108
108
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -116,7 +116,7 @@ def broadcast():
116
116
x .flatten (), FixedImpl .FP8x23 ))
117
117
y = Tensor (Dtype .FP8x23 , y .shape , to_fp (
118
118
y .flatten (), FixedImpl .FP8x23 ))
119
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
119
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
120
120
121
121
name = "equal_fp8x23_broadcast"
122
122
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -135,7 +135,7 @@ def default():
135
135
x .flatten (), FixedImpl .FP16x16 ))
136
136
y = Tensor (Dtype .FP16x16 , y .shape , to_fp (
137
137
y .flatten (), FixedImpl .FP16x16 ))
138
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
138
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
139
139
140
140
name = "equal_fp16x16"
141
141
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
@@ -149,7 +149,7 @@ def broadcast():
149
149
x .flatten (), FixedImpl .FP16x16 ))
150
150
y = Tensor (Dtype .FP16x16 , y .shape , to_fp (
151
151
y .flatten (), FixedImpl .FP16x16 ))
152
- z = Tensor (Dtype .U32 , z .shape , z .flatten ())
152
+ z = Tensor (Dtype .I32 , z .shape , z .flatten ())
153
153
154
154
name = "equal_fp16x16_broadcast"
155
155
make_test ([x , y ], z , "input_0.equal(@input_1)" , name )
0 commit comments