forked from recogni/tfutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remote_fused_graph_execute_info.pb.go
202 lines (179 loc) · 9.31 KB
/
remote_fused_graph_execute_info.pb.go
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/framework/remote_fused_graph_execute_info.proto
package tensorflow
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
type RemoteFusedGraphExecuteInfo_NodeType int32
const (
RemoteFusedGraphExecuteInfo_UNUSED RemoteFusedGraphExecuteInfo_NodeType = 0
RemoteFusedGraphExecuteInfo_GRAPH_INPUT RemoteFusedGraphExecuteInfo_NodeType = 1
RemoteFusedGraphExecuteInfo_GRAPH_OUTPUT RemoteFusedGraphExecuteInfo_NodeType = 2
RemoteFusedGraphExecuteInfo_FUSED_NODE RemoteFusedGraphExecuteInfo_NodeType = 3
RemoteFusedGraphExecuteInfo_BORDER_INPUT RemoteFusedGraphExecuteInfo_NodeType = 4
RemoteFusedGraphExecuteInfo_BORDER_OUTPUT RemoteFusedGraphExecuteInfo_NodeType = 5
)
var RemoteFusedGraphExecuteInfo_NodeType_name = map[int32]string{
0: "UNUSED",
1: "GRAPH_INPUT",
2: "GRAPH_OUTPUT",
3: "FUSED_NODE",
4: "BORDER_INPUT",
5: "BORDER_OUTPUT",
}
var RemoteFusedGraphExecuteInfo_NodeType_value = map[string]int32{
"UNUSED": 0,
"GRAPH_INPUT": 1,
"GRAPH_OUTPUT": 2,
"FUSED_NODE": 3,
"BORDER_INPUT": 4,
"BORDER_OUTPUT": 5,
}
func (x RemoteFusedGraphExecuteInfo_NodeType) String() string {
return proto.EnumName(RemoteFusedGraphExecuteInfo_NodeType_name, int32(x))
}
func (RemoteFusedGraphExecuteInfo_NodeType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor14, []int{0, 0}
}
// Protocol buffer representing a handle to a tensorflow resource. Handles are
// not valid across executions, but can be serialized back and forth from within
// a single run.
type RemoteFusedGraphExecuteInfo struct {
// Definition of remote graph
RemoteGraph *GraphDef `protobuf:"bytes,1,opt,name=remote_graph,json=remoteGraph" json:"remote_graph,omitempty"`
// Remote fused graph input node name
GraphInputNodeName []string `protobuf:"bytes,2,rep,name=graph_input_node_name,json=graphInputNodeName" json:"graph_input_node_name,omitempty"`
// Remote fused graph output node name
GraphOutputNodeName []string `protobuf:"bytes,3,rep,name=graph_output_node_name,json=graphOutputNodeName" json:"graph_output_node_name,omitempty"`
// Executor's name
ExecutorName string `protobuf:"bytes,4,opt,name=executor_name,json=executorName" json:"executor_name,omitempty"`
// Optional: Parameters given to the executor
SerializedExecutorParameters []byte `protobuf:"bytes,5,opt,name=serialized_executor_parameters,json=serializedExecutorParameters,proto3" json:"serialized_executor_parameters,omitempty"`
// Optional: Default graph input tensor shape used to allocate memory
// before executing op
DefaultGraphInputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `protobuf:"bytes,6,rep,name=default_graph_input_tensor_shape,json=defaultGraphInputTensorShape" json:"default_graph_input_tensor_shape,omitempty"`
// Optional: Default graph input tensor shape used to allocate memory
// before executing op
// TODO(satok): Remote output tensor shape once shape information is stored
// in NodeDef
DefaultGraphOutputTensorShape []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto `protobuf:"bytes,7,rep,name=default_graph_output_tensor_shape,json=defaultGraphOutputTensorShape" json:"default_graph_output_tensor_shape,omitempty"`
}
func (m *RemoteFusedGraphExecuteInfo) Reset() { *m = RemoteFusedGraphExecuteInfo{} }
func (m *RemoteFusedGraphExecuteInfo) String() string { return proto.CompactTextString(m) }
func (*RemoteFusedGraphExecuteInfo) ProtoMessage() {}
func (*RemoteFusedGraphExecuteInfo) Descriptor() ([]byte, []int) { return fileDescriptor14, []int{0} }
func (m *RemoteFusedGraphExecuteInfo) GetRemoteGraph() *GraphDef {
if m != nil {
return m.RemoteGraph
}
return nil
}
func (m *RemoteFusedGraphExecuteInfo) GetGraphInputNodeName() []string {
if m != nil {
return m.GraphInputNodeName
}
return nil
}
func (m *RemoteFusedGraphExecuteInfo) GetGraphOutputNodeName() []string {
if m != nil {
return m.GraphOutputNodeName
}
return nil
}
func (m *RemoteFusedGraphExecuteInfo) GetExecutorName() string {
if m != nil {
return m.ExecutorName
}
return ""
}
func (m *RemoteFusedGraphExecuteInfo) GetSerializedExecutorParameters() []byte {
if m != nil {
return m.SerializedExecutorParameters
}
return nil
}
func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphInputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto {
if m != nil {
return m.DefaultGraphInputTensorShape
}
return nil
}
func (m *RemoteFusedGraphExecuteInfo) GetDefaultGraphOutputTensorShape() []*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto {
if m != nil {
return m.DefaultGraphOutputTensorShape
}
return nil
}
type RemoteFusedGraphExecuteInfo_TensorShapeTypeProto struct {
Dtype DataType `protobuf:"varint,1,opt,name=dtype,enum=tensorflow.DataType" json:"dtype,omitempty"`
Shape *TensorShapeProto `protobuf:"bytes,2,opt,name=shape" json:"shape,omitempty"`
}
func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Reset() {
*m = RemoteFusedGraphExecuteInfo_TensorShapeTypeProto{}
}
func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) String() string {
return proto.CompactTextString(m)
}
func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) ProtoMessage() {}
func (*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) Descriptor() ([]byte, []int) {
return fileDescriptor14, []int{0, 0}
}
func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetDtype() DataType {
if m != nil {
return m.Dtype
}
return DataType_DT_INVALID
}
func (m *RemoteFusedGraphExecuteInfo_TensorShapeTypeProto) GetShape() *TensorShapeProto {
if m != nil {
return m.Shape
}
return nil
}
func init() {
proto.RegisterType((*RemoteFusedGraphExecuteInfo)(nil), "tensorflow.RemoteFusedGraphExecuteInfo")
proto.RegisterType((*RemoteFusedGraphExecuteInfo_TensorShapeTypeProto)(nil), "tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto")
proto.RegisterEnum("tensorflow.RemoteFusedGraphExecuteInfo_NodeType", RemoteFusedGraphExecuteInfo_NodeType_name, RemoteFusedGraphExecuteInfo_NodeType_value)
}
func init() {
proto.RegisterFile("tensorflow/core/framework/remote_fused_graph_execute_info.proto", fileDescriptor14)
}
var fileDescriptor14 = []byte{
// 505 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xc1, 0x6f, 0xd3, 0x30,
0x14, 0xc6, 0xf1, 0xba, 0x16, 0xf6, 0xda, 0x8d, 0x62, 0x06, 0xaa, 0x4a, 0x41, 0x61, 0x08, 0xa9,
0x42, 0xa8, 0x15, 0xdd, 0x81, 0x0b, 0x12, 0x5a, 0x95, 0xae, 0xf4, 0xd2, 0x46, 0x5e, 0x7b, 0xb6,
0xcc, 0xf2, 0xb2, 0x55, 0xb4, 0x71, 0xe4, 0x38, 0x8c, 0x71, 0x46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