Imported Upstream version 1.18.0
[platform/core/ml/nnfw.git] / res / TensorFlowLiteRecipes / PadV2_001 / test.recipe
1 operand {
2   name: "ifm"
3   type: FLOAT32
4   shape { dim: 1 dim: 3 dim: 3 dim: 2 }
5 }
6 operand {
7   name: "relu"
8   type: FLOAT32
9   shape { dim: 1 dim: 3 dim: 3 dim: 2 }
10 }
11 operand {
12   name: "padding"
13   type: INT32
14   shape { dim: 4 dim: 2 }
15   filler {
16     tag: "explicit"
17     arg: "0" arg: "0"
18     arg: "1" arg: "1"
19     arg: "1" arg: "1"
20     arg: "0" arg: "0"
21   }
22 }
23 operand {
24   name: "constant_values"
25   type: FLOAT32
26   shape { dim: 1 }
27   filler {
28     tag: "explicit"
29     arg: "-100.00"
30   }
31 }
32 operand {
33   name: "padv2"
34   type: FLOAT32
35   shape { dim: 1 dim: 5 dim: 5 dim: 2 }
36 }
37 operand {
38   name: "ofm"
39   type: FLOAT32
40   shape { dim: 1 dim: 3 dim: 3 dim: 2 }
41 }
42 operation {
43   type: "ReLU"
44   input: "ifm"
45   output: "relu"
46 }
47 operation {
48   type: "PadV2"
49   input: "relu"
50   input: "padding"
51   input: "constant_values"
52   output: "padv2"
53 }
54 operation {
55   type: "MaxPool2D"
56   maxpool2d_options {
57     padding: VALID
58     stride_w: 1
59     stride_h: 1
60     filter_height: 3
61     filter_width: 3
62   }
63   input: "padv2"
64   output: "ofm"
65 }
66
67 input: "ifm"
68 output: "ofm"