Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / res / TensorFlowLiteRecipes / Net_Gelu_000 / test.recipe
1 operand {
2   name: "ifm"
3   type: FLOAT32
4   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
5 }
6 operand {
7   name: "mul_sqrt"
8   type: FLOAT32
9   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
10 }
11 operand {
12   name: "sqrt_2_inv"
13   type: FLOAT32
14   shape { dim: 1 }
15   filler {
16     tag: "explicit"
17     arg: "0.7071067690849304"
18   }
19 }
20 operand {
21   name: "erf"
22   type: FLOAT32
23   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
24 }
25 operand {
26   name: "add_one"
27   type: FLOAT32
28   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
29 }
30 operand {
31   name: "one"
32   type: FLOAT32
33   shape { dim: 1 }
34   filler {
35     tag: "explicit"
36     arg: "1.0"
37   }
38 }
39 operand {
40   name: "mul"
41   type: FLOAT32
42   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
43 }
44 operand {
45   name: "mul_half"
46   type: FLOAT32
47   shape { dim: 1 dim: 5 dim: 5 dim: 3 }
48 }
49 operand {
50   name: "half"
51   type: FLOAT32
52   shape { dim: 1 }
53   filler {
54     tag: "explicit"
55     arg: "0.5"
56   }
57 }
58 operation {
59   type: "Mul"
60   input: "ifm"
61   input: "sqrt_2_inv"
62   output: "mul_sqrt"
63   mul_options {
64     activation: NONE
65   }
66 }
67 operation {
68   type: "Erf"
69   input: "mul_sqrt"
70   output: "erf"
71 }
72 operation {
73   type: "Add"
74   input: "erf"
75   input: "one"
76   output: "add_one"
77   add_options {
78     activation: NONE
79   }
80 }
81 operation {
82   type: "Mul"
83   input: "ifm"
84   input: "add_one"
85   output: "mul"
86   mul_options {
87     activation: NONE
88   }
89 }
90 operation {
91   type: "Mul"
92   input: "mul"
93   input: "half"
94   output: "mul_half"
95   mul_options {
96     activation: NONE
97   }
98 }
99 input: "ifm"
100 output: "mul_half"