blob: 5977a1d320d480d1a2f7d8990217958aabb0f25e (
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
|
operand {
name: "in"
type: FLOAT32
shape { dim: 4 dim: 4 }
}
operand {
name: "sparse16"
type: FLOAT16
shape { dim: 4 dim: 4 }
filler {
tag: "explicit"
arg: "2" arg: "0" arg: "0" arg: "0"
arg: "0" arg: "0" arg: "0" arg: "0"
arg: "0" arg: "0" arg: "0" arg: "0"
arg: "0" arg: "0" arg: "0" arg: "3"
}
make_sparse: true
}
operand {
name: "dense16"
type: FLOAT16
shape { dim: 4 dim: 4 }
}
operand {
name: "dense32"
type: FLOAT32
shape { dim: 4 dim: 4 }
}
operand {
name: "out"
type: FLOAT32
shape { dim: 4 dim: 4 }
}
operation {
type: "Densify"
input: "sparse16"
output: "dense16"
}
operation {
type: "Dequantize"
input: "dense16"
output: "dense32"
}
operation {
type: "Add"
input: "in"
input: "dense32"
output: "out"
add_options {
activation: NONE
}
}
input: "in"
output: "out"
|