blob: aa552ce650d36ae968b5aeb07de25dd4a233252a (
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
|
# Add network with Placeholder and Const as arguments
node {
name: "Placeholder"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "shape"
value {
shape {
dim {
size: 2
}
dim {
size: 3
}
}
}
}
}
node {
name: "Const"
op: "Const"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_FLOAT
tensor_shape {
dim {
size: 2
}
dim {
size: 3
}
}
float_val: 1.1
float_val: 2.2
float_val: 3.3
float_val: 4.4
float_val: 5.5
float_val: 6.6
}
}
}
}
node {
name: "Add"
op: "Add"
input: "Placeholder"
input: "Const"
attr {
key: "T"
value {
type: DT_FLOAT
}
}
}
|