@@ -889,7 +889,7 @@ func.func @test_rfft2d_input_w(%arg0: tensor<13x8x16384xf32>) -> (tensor<13x8x81
889889
890890func.func @test_transpose_conv2d_weight_h (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x8193 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x8224 x32 x16 xf32 > {
891891 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: KH <= MAX_KERNEL}}
892- %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 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
892+ %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 >} :
893893 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x8193 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x8224 x32 x16 xf32 >
894894 return %0 : tensor <1 x8224 x32 x16 xf32 >
895895}
@@ -898,7 +898,7 @@ func.func @test_transpose_conv2d_weight_h(%arg0: tensor<1x32x32x8xf32>, %arg1: t
898898
899899func.func @test_transpose_conv2d_weight_w (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x8193 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x32 x8224 x16 xf32 > {
900900 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: KW <= MAX_KERNEL}}
901- %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 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
901+ %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 >} :
902902 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x8193 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x32 x8224 x16 xf32 >
903903 return %0 : tensor <1 x32 x8224 x16 xf32 >
904904}
@@ -907,7 +907,7 @@ func.func @test_transpose_conv2d_weight_w(%arg0: tensor<1x32x32x8xf32>, %arg1: t
907907
908908func.func @test_transpose_conv2d_pad_top (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x8225 x32 x16 xf32 > {
909909 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: pad <= MAX_KERNEL}}
910- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 8193 , 0 , 0 , 0 >, out_shape = array< i64 : 1 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
910+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 8193 , 0 , 0 , 0 >, stride = array<i64 : 1 , 1 >} :
911911 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x8225 x32 x16 xf32 >
912912 return %0 : tensor <1 x8225 x32 x16 xf32 >
913913}
@@ -916,7 +916,7 @@ func.func @test_transpose_conv2d_pad_top(%arg0: tensor<1x32x32x8xf32>, %arg1: te
916916
917917func.func @test_transpose_conv2d_pad_bottom (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x8225 x32 x16 xf32 > {
918918 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: pad <= MAX_KERNEL}}
919- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 8193 , 0 , 0 >, out_shape = array< i64 : 1 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
919+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 8193 , 0 , 0 >, stride = array<i64 : 1 , 1 >} :
920920 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x8225 x32 x16 xf32 >
921921 return %0 : tensor <1 x8225 x32 x16 xf32 >
922922}
@@ -925,7 +925,7 @@ func.func @test_transpose_conv2d_pad_bottom(%arg0: tensor<1x32x32x8xf32>, %arg1:
925925
926926func.func @test_transpose_conv2d_pad_left (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x32 x8225 x16 xf32 > {
927927 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: pad <= MAX_KERNEL}}
928- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 8193 , 0 >, out_shape = array< i64 : 1 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
928+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 8193 , 0 >, stride = array<i64 : 1 , 1 >} :
929929 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x32 x8225 x16 xf32 >
930930 return %0 : tensor <1 x32 x8225 x16 xf32 >
931931}
@@ -934,7 +934,7 @@ func.func @test_transpose_conv2d_pad_left(%arg0: tensor<1x32x32x8xf32>, %arg1: t
934934
935935func.func @test_transpose_conv2d_pad_right (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x32 x8225 x16 xf32 > {
936936 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: pad <= MAX_KERNEL}}
937- %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 8193 >, out_shape = array< i64 : 1 , 32 , 32 , 16 >, stride = array<i64 : 1 , 1 >} :
937+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 8193 >, stride = array<i64 : 1 , 1 >} :
938938 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x32 x8225 x16 xf32 >
939939 return %0 : tensor <1 x32 x8225 x16 xf32 >
940940}
@@ -943,7 +943,7 @@ func.func @test_transpose_conv2d_pad_right(%arg0: tensor<1x32x32x8xf32>, %arg1:
943943
944944func.func @test_transpose_conv2d_stride_y (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x253984 x32 x16 xf32 > {
945945 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: stride <= MAX_STRIDE}}
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 , 32 , 32 , 16 >, stride = array<i64 : 8193 , 1 >} :
946+ %0 = tosa.transpose_conv2d %arg0 , %arg1 , %arg2 , %arg3 , %arg4 {acc_type = f32 , out_pad = array<i64 : 0 , 0 , 0 , 0 >, stride = array<i64 : 8193 , 1 >} :
947947 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x253984 x32 x16 xf32 >
948948 return %0 : tensor <1 x253984 x32 x16 xf32 >
949949}
@@ -952,7 +952,7 @@ func.func @test_transpose_conv2d_stride_y(%arg0: tensor<1x32x32x8xf32>, %arg1: t
952952
953953func.func @test_transpose_conv2d_stride_x (%arg0: tensor <1 x32 x32 x8 xf32 >, %arg1: tensor <16 x1 x1 x8 xf32 >, %arg2: tensor <16 xf32 >, %arg3: tensor <1 xf32 >, %arg4: tensor <1 xf32 >) -> tensor <1 x32 x253984 x16 xf32 > {
954954 // expected-error@+1 {{'tosa.transpose_conv2d' op failed level check: stride <= MAX_STRIDE}}
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 , 32 , 32 , 16 >, stride = array<i64 : 1 , 8193 >} :
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 , 8193 >} :
956956 (tensor <1 x32 x32 x8 xf32 >, tensor <16 x1 x1 x8 xf32 >, tensor <16 xf32 >, tensor <1 xf32 >, tensor <1 xf32 >) -> tensor <1 x32 x253984 x16 xf32 >
957957 return %0 : tensor <1 x32 x253984 x16 xf32 >
958958}
0 commit comments