@@ -907,7 +907,7 @@ func.func @depthwise_conv2d_strided(%arg0: tensor<1x13x14x1xf32>, %arg1: tensor<
907
907
// CHECK-LABEL: @transpose_conv2d_out_shape
908
908
func.func @transpose_conv2d_out_shape (%arg0: tensor <2 x?x?x3 xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
909
909
// CHECK: -> tensor<2x8x9x5xf32>
910
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , 8 , 9 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x?x?x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x8 x9 x5 xf32 >
910
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x?x?x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x8 x9 x5 xf32 >
911
911
return
912
912
}
913
913
@@ -916,7 +916,7 @@ func.func @transpose_conv2d_out_shape(%arg0: tensor<2x?x?x3xf32>, %arg1: tensor<
916
916
// CHECK-LABEL: @transpose_conv2d_static
917
917
func.func @transpose_conv2d_static (%arg0: tensor <2 x16 x14 x3 xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
918
918
// CHECK: -> tensor<2x18x19x5xf32>
919
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x16 x14 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
919
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x16 x14 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
920
920
return
921
921
}
922
922
@@ -925,7 +925,7 @@ func.func @transpose_conv2d_static(%arg0: tensor<2x16x14x3xf32>, %arg1: tensor<5
925
925
// CHECK-LABEL: @transpose_conv2d_static_strided
926
926
func.func @transpose_conv2d_static_strided (%arg0: tensor <2 x16 x14 x3 xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
927
927
// CHECK: -> tensor<2x33x45x5xf32>
928
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 2 , 3 >} : (tensor <2 x16 x14 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
928
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 2 , 3 >} : (tensor <2 x16 x14 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
929
929
return
930
930
}
931
931
@@ -934,7 +934,7 @@ func.func @transpose_conv2d_static_strided(%arg0: tensor<2x16x14x3xf32>, %arg1:
934
934
// CHECK-LABEL: @transpose_conv2d_dynamic_input
935
935
func.func @transpose_conv2d_dynamic_input (%arg0: tensor <?x?x?x?xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
936
936
// CHECK: -> tensor<?x?x?x5xf32>
937
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <?x?x?x?xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <?x?x?x5 xf32 >
937
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <?x?x?x?xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <?x?x?x5 xf32 >
938
938
return
939
939
}
940
940
@@ -943,7 +943,7 @@ func.func @transpose_conv2d_dynamic_input(%arg0: tensor<?x?x?x?xf32>, %arg1: ten
943
943
// CHECK-LABEL: @transpose_conv2d_dynamic_weights
944
944
func.func @transpose_conv2d_dynamic_weights (%arg0: tensor <2 x6 x4 x3 xf32 >, %arg1: tensor <?x?x?x?xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
945
945
// CHECK: -> tensor<2x?x?x5xf32>
946
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x6 x4 x3 xf32 >, tensor <?x?x?x?xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
946
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x6 x4 x3 xf32 >, tensor <?x?x?x?xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x?x?x5 xf32 >
947
947
return
948
948
}
949
949
@@ -952,7 +952,7 @@ func.func @transpose_conv2d_dynamic_weights(%arg0: tensor<2x6x4x3xf32>, %arg1: t
952
952
// CHECK-LABEL: @transpose_conv2d_dynamic_bias
953
953
func.func @transpose_conv2d_dynamic_bias (%arg0: tensor <2 x6 x4 x3 xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <?xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
954
954
// CHECK: -> tensor<2x8x9x5xf32>
955
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x6 x4 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <?xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x8 x9 x5 xf32 >
955
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x6 x4 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <?xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x8 x9 x5 xf32 >
956
956
return
957
957
}
958
958
@@ -961,14 +961,14 @@ func.func @transpose_conv2d_dynamic_bias(%arg0: tensor<2x6x4x3xf32>, %arg1: tens
961
961
// CHECK-LABEL: @transpose_conv2d_padded
962
962
func.func @transpose_conv2d_padded (%arg0: tensor <2 x9 x11 x3 xf32 >, %arg1: tensor <5 x3 x6 x3 xf32 >, %arg2: tensor <5 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
963
963
// CHECK: -> tensor<2x10x13x5xf32>
964
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 1 , 0 , 3 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x9 x11 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x10 x13 x5 xf32 >
964
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 1 , 0 , 3 , 0 >, stride = array<i64 : 1 , 1 >} : (tensor <2 x9 x11 x3 xf32 >, tensor <5 x3 x6 x3 xf32 >, tensor <5 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <2 x10 x13 x5 xf32 >
965
965
return
966
966
}
967
967
968
968
// CHECK-LABEL: @transpose_conv2d_strided
969
969
func.func @transpose_conv2d_strided (%arg0: tensor <1 x5 x7 x1 xf32 >, %arg1: tensor <1 x1 x1 x1 xf32 >, %arg2: tensor <1 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) {
970
970
// CHECK: -> tensor<1x13x13x1xf32>
971
- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, out_shape = array< i64 : - 1 , - 1 , - 1 , - 1 >, stride = array<i64 : 3 , 2 >} : (tensor <1 x5 x7 x1 xf32 >, tensor <1 x1 x1 x1 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x13 x13 x1 xf32 >
971
+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 3 , 2 >} : (tensor <1 x5 x7 x1 xf32 >, tensor <1 x1 x1 x1 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x13 x13 x1 xf32 >
972
972
return
973
973
}
974
974
0 commit comments