Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / res / TensorFlowLiteRecipes / Net_TConv_BN_005 / test.recipe
1 # Tconv with asymmetric filter + BN + ReLU
2 operand {
3   name: "Hole"
4   type: FLOAT32
5   shape {
6     dim: 1
7     dim: 1
8     dim: 1
9     dim: 2
10   }
11 }
12 operand {
13   name: "conv2d_transpose/input_sizes"
14   type: INT32
15   shape {
16     dim: 4
17   }
18   filler {
19     tag: "explicit"
20     arg: "1"
21     arg: "5"
22     arg: "1"
23     arg: "2"
24   }
25 }
26 operand {
27   name: "FusedBatchNormV3"
28   type: FLOAT32
29   shape {
30     dim: 2
31   }
32   filler {
33     tag: "explicit"
34     arg: "-2.04724"
35     arg: "-7.80109"
36   }
37 }
38 operand {
39   name: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes"
40   type: FLOAT32
41   shape {
42     dim: 2
43     dim: 5
44     dim: 1
45     dim: 2
46   }
47   filler {
48     tag: "gaussian"
49     arg: "0.0"
50     arg: "0.1"
51   }
52 }
53 operand {
54   name: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes2"
55   type: FLOAT32
56   shape {
57     dim: 1
58     dim: 5
59     dim: 1
60     dim: 2
61   }
62 }
63 operand {
64   name: "FusedBatchNormV3_mul_0"
65   type: FLOAT32
66   shape {
67     dim: 1
68     dim: 5
69     dim: 1
70     dim: 2
71   }
72 }
73 operand {
74   name: "FusedBatchNormV3_mul_0_param"
75   type: FLOAT32
76   shape {
77     dim: 2
78   }
79   filler {
80     tag: "explicit"
81     arg: "2.00834"
82     arg: "1.00344"
83   }
84 }
85 operand {
86   name: "Relu"
87   type: FLOAT32
88   shape {
89     dim: 1
90     dim: 5
91     dim: 1
92     dim: 2
93   }
94 }
95 operation {
96   type: "TransposeConv"
97   input: "conv2d_transpose/input_sizes"
98   input: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes"
99   input: "Hole"
100   output: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes2"
101   transpose_conv_options {
102     padding: VALID
103     stride_w: 1
104     stride_h: 1
105     activation: NONE
106   }
107 }
108 operation {
109   type: "Mul"
110   input: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes2"
111   input: "FusedBatchNormV3_mul_0_param"
112   output: "FusedBatchNormV3_mul_0"
113   mul_options {
114     activation: NONE
115   }
116 }
117 operation {
118   type: "Add"
119   input: "FusedBatchNormV3_mul_0"
120   input: "FusedBatchNormV3"
121   output: "Relu"
122   add_options {
123     activation: RELU
124   }
125 }
126 input: "Hole"
127 output: "Relu"