blob: e6f4eca8fd2f03c66e48b7a7f12001948b995c07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
operand {
name: "ifm"
type: FLOAT32
shape { dim: 1 dim: 3 dim: 3 dim: 2 }
}
operand {
name: "ker"
type: FLOAT32
shape { dim: 1 dim: 1 dim: 1 dim: 2 }
filler { tag: "gaussian" arg: "0.0" arg: "1.0" }
}
operand {
name: "bias"
type: FLOAT32
shape { dim: 1 }
filler { tag: "gaussian" arg: "0.0" arg: "1.0" }
}
operand {
name: "ofm"
type: FLOAT32
shape { dim: 1 dim: 3 dim: 3 dim: 1 }
}
operand {
name: "arr"
type: FLOAT32
shape { dim: 1 dim: 9 }
}
operand {
name: "shape"
type: INT32
shape { dim: 2 }
filler { tag: "explicit" arg: "-1" arg: "9" }
}
operation {
type: "Conv2D"
conv2d_options { padding: VALID stride_w: 1 stride_h: 1 activation: RELU6 }
input: "ifm"
input: "ker"
input: "bias"
output: "ofm"
}
operation {
type: "Reshape"
input: "ofm"
input: "shape"
output: "arr"
reshape_options { new_shape: [-1, 9] }
}
input: "ifm"
output: "arr"
|