blob: 665c9fe28721b25c544c30ecd1b4dfc399934314 (
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
|
node {
name : "x_const"
op : "Const"
attr {
key: "value"
value {
tensor { dtype: DT_INT32 tensor_shape { dim { size: 1 } } int_val: 1 }
}
}
attr {
key : "dtype"
value {
type : DT_INT32
}
}
}
node {
name : "y_const"
op : "Const"
attr {
key: "value"
value {
tensor { dtype: DT_INT32 tensor_shape { dim { size: 1 } } int_val: 2 }
}
}
attr {
key: "dtype"
value {
type: DT_INT32
}
}
}
node {
name : "y_reshape"
op : "Reshape"
input : "y_const"
input : "y_shape"
attr { key: "T" value { type: DT_INT32 } }
# Attribute TShape not specified; needs to be set to its default
# by tfcompile.
}
node {
name : "x_y_sum"
op : "Add"
input : "x_const"
input : "y_reshape"
attr {
key : "T"
value {
type: DT_INT32
}
}
}
versions {
producer: 15
}
|