blob: e3fe1e315b42b819be7782b56596de5e7d4b4655 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
operand {
name: "ifm_conv"
type: FLOAT32
shape { dim: 1 dim: 64 dim: 64 dim: 32 }
}
operand {
name: "filter"
type: FLOAT32
shape { dim: 64 dim: 1 dim: 1 dim: 32 }
filler {
tag: "gaussian"
arg: "0.0"
arg: "1.0"
}
}
operand {
name: "bias"
type: FLOAT32
shape { dim: 64 }
filler {
tag: "gaussian"
arg: "0.0"
arg: "1.0"
}
}
operand {
name: "ofm_conv"
type: FLOAT32
shape { dim: 1 dim: 32 dim: 32 dim: 64 }
}
operand {
name: "mul_const"
type: FLOAT32
shape { dim: 1 dim: 1 dim: 1 dim: 64 }
filler {
tag: "gaussian"
arg: "0.0"
arg: "1.0"
}
}
operand {
name: "add_const"
type: FLOAT32
shape { dim: 1 dim: 1 dim: 1 dim: 64 }
filler {
tag: "gaussian"
arg: "0.0"
arg: "1.0"
}
}
operand {
name: "ofm_mul"
type: FLOAT32
shape { dim: 1 dim: 32 dim: 32 dim: 64 }
}
operand {
name: "ofm_add"
type: FLOAT32
shape { dim: 1 dim: 32 dim: 32 dim: 64 }
}
operation {
type: "Conv2D"
conv2d_options {
padding: VALID
stride_w: 2
stride_h: 2
}
input: "ifm_conv"
input: "filter"
input: "bias"
output: "ofm_conv"
}
operation {
type: "Mul"
input: "mul_const"
input: "ofm_conv"
output: "ofm_mul"
mul_options {
activation: NONE
}
}
operation {
type: "Add"
input: "add_const"
input: "ofm_mul"
output: "ofm_add"
add_options {
activation: NONE
}
}
input: "ifm_conv"
output: "ofm_add"
|