@@ -907,7 +907,7 @@ func.func @depthwise_conv2d_strided(%arg0: tensor<1x13x14x1xf32>, %arg1: tensor<
907907// CHECK-LABEL: @transpose_conv2d_out_shape
908908func.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 >) {
909909 // 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 >
911911 return
912912}
913913
@@ -916,7 +916,7 @@ func.func @transpose_conv2d_out_shape(%arg0: tensor<2x?x?x3xf32>, %arg1: tensor<
916916// CHECK-LABEL: @transpose_conv2d_static
917917func.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 >) {
918918 // 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 >
920920 return
921921}
922922
@@ -925,7 +925,7 @@ func.func @transpose_conv2d_static(%arg0: tensor<2x16x14x3xf32>, %arg1: tensor<5
925925// CHECK-LABEL: @transpose_conv2d_static_strided
926926func.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 >) {
927927 // 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 >
929929 return
930930}
931931
@@ -934,7 +934,7 @@ func.func @transpose_conv2d_static_strided(%arg0: tensor<2x16x14x3xf32>, %arg1:
934934// CHECK-LABEL: @transpose_conv2d_dynamic_input
935935func.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 >) {
936936 // 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 >
938938 return
939939}
940940
@@ -943,7 +943,7 @@ func.func @transpose_conv2d_dynamic_input(%arg0: tensor<?x?x?x?xf32>, %arg1: ten
943943// CHECK-LABEL: @transpose_conv2d_dynamic_weights
944944func.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 >) {
945945 // 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 >
947947 return
948948}
949949
@@ -952,7 +952,7 @@ func.func @transpose_conv2d_dynamic_weights(%arg0: tensor<2x6x4x3xf32>, %arg1: t
952952// CHECK-LABEL: @transpose_conv2d_dynamic_bias
953953func.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 >) {
954954 // 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 >
956956 return
957957}
958958
@@ -961,14 +961,14 @@ func.func @transpose_conv2d_dynamic_bias(%arg0: tensor<2x6x4x3xf32>, %arg1: tens
961961// CHECK-LABEL: @transpose_conv2d_padded
962962func.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 >) {
963963 // 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 >
965965 return
966966}
967967
968968// CHECK-LABEL: @transpose_conv2d_strided
969969func.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 >) {
970970 // 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 >
972972 return
973973}
974974
0 commit comments