@@ -153,16 +153,16 @@ func @QuantizeFullyConnected(%arg0: tensor<1x224x224x3xf32>) -> tensor<1x112x112
153153func @QuantizeTransposeConv (%arg0: tensor <32 x4 x4 x128 xf32 >, %arg1: tensor <4 xi32 >) -> tensor <1 x32 x42 x128 xf32 > {
154154 %w = constant dense <127.0 > : tensor <1 x32 x42 x128 xf32 >
155155 %b = constant dense <0.0 > : tensor <1 x32 x42 x128 xf32 >
156- %tc = " tfl.transpose_conv" (%arg1 , %arg0 , %w , %b ) {padding = " SAME" , stride_h = 2 : i32 , stride_w = 2 : i32 } : (tensor <4 xi32 >, tensor <32 x 4 x 4 x 128 x f32 >, tensor <1 x 32 x 42 x 128 x f32 >, tensor <1 x32 x42 x128 xf32 >) -> tensor <1 x32 x42 x128 xf32 >
156+ %tc = " tfl.transpose_conv" (%arg1 , %w , %arg0 , %b ) {padding = " SAME" , stride_h = 2 : i32 , stride_w = 2 : i32 } : (tensor <4 xi32 >, tensor <1 x 32 x 42 x 128 x f32 >, tensor <32 x 4 x 4 x 128 x f32 >, tensor <1 x32 x42 x128 xf32 >) -> tensor <1 x32 x42 x128 xf32 >
157157 return %tc : tensor <1 x32 x42 x128 xf32 >
158158
159159// CHECK: %[[CST:.*]] = constant dense<1.270000e+02> : tensor<1x32x42x128xf32>
160160// CHECK: %[[QUANTIZE:.*]] = "tfl.quantize"(%[[CST]]) {qtype = tensor<1x32x42x128x!quant.uniform<i8<-127:127>:f32:0, {1.000000e+00}>>, volatile}
161161// CHECK: %[[DEQUANTIZE:.*]] = "tfl.dequantize"(%[[QUANTIZE]]) : (tensor<1x32x42x128x!quant.uniform<i8<-127:127>:f32:0, {1.000000e+00}>>) -> tensor<1x32x42x128xf32>
162- // CHECK: "tfl.transpose_conv"(%arg1, %arg0, % [[DEQUANTIZE]]
162+ // CHECK: "tfl.transpose_conv"(%arg1, %[[DEQUANTIZE]], %arg0,
163163
164164// PerTensor: %[[CST:.*]] = constant dense<1.270000e+02> : tensor<1x32x42x128xf32>
165165// PerTensor: %[[QUANTIZE:.*]] = "tfl.quantize"(%[[CST]]) {qtype = tensor<1x32x42x128x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>, volatile}
166166// PerTensor: %[[DEQUANTIZE:.*]] = "tfl.dequantize"(%[[QUANTIZE]]) : (tensor<1x32x42x128x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>) -> tensor<1x32x42x128xf32>
167- // PerTensor: "tfl.transpose_conv"(%arg1, %arg0, % [[DEQUANTIZE]]
167+ // PerTensor: "tfl.transpose_conv"(%arg1, %[[DEQUANTIZE]], %arg0,
168168}
0 commit comments