a8af8e4974e40a035bbd45d057bd885bc2f5cfd1
[platform/core/ml/nnfw.git] / res / TensorFlowLiteRecipes / Net_TConv_BN_002 / test.recipe
1 # Tconv with asymmetric filter + BN + Relu6
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: "Relu6"
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   }
106 }
107 operation {
108   type: "Mul"
109   input: "FusedBatchNormV3;conv2d_transpose;conv2d_transpose/input_sizes2"
110   input: "FusedBatchNormV3_mul_0_param"
111   output: "FusedBatchNormV3_mul_0"
112   mul_options {
113     activation: NONE
114   }
115 }
116 operation {
117   type: "Add"
118   input: "FusedBatchNormV3_mul_0"
119   input: "FusedBatchNormV3"
120   output: "Relu6"
121   add_options {
122     activation: RELU6
123   }
124 }
125 input: "Hole"
126 output: "Relu6"