blob: 10072724d2f554885181fc3e5995d37fdd4cbc72 (
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
|
syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "RemoteFusedGraphExecuteInfoProto";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework";
import "tensorflow/core/framework/graph.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
// 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.
message RemoteFusedGraphExecuteInfo {
message TensorShapeTypeProto {
DataType dtype = 1;
TensorShapeProto shape = 2;
}
// Definition of remote graph
GraphDef remote_graph = 1;
// Remote fused graph input node name
repeated string graph_input_node_name = 2;
// Remote fused graph output node name
repeated string graph_output_node_name = 3;
// Executor's name
string executor_name = 4;
// Optional: Parameters given to the executor
bytes serialized_executor_parameters = 5;
// Optional: Default graph input tensor shape used to allocate memory
// before executing op
repeated TensorShapeTypeProto default_graph_input_tensor_shape = 6;
// 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
repeated TensorShapeTypeProto default_graph_output_tensor_shape = 7;
};
|