aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/node_def.proto
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com>2018-05-03 02:45:29 +0200
committerGravatar Jonathan Hseu <vomjom@vomjom.net>2018-05-02 17:45:29 -0700
commita44996a84b24c43cca40c685a009fd59275755ab (patch)
treeb46b424b7991f05f9dda302cb03dccce1c3aeccc /tensorflow/core/framework/node_def.proto
parent187cd5da6bf7bf28a873cd043905f354f047c988 (diff)
Add go_package to proto definition files (#17262)
* Add go_package to proto definition files This fix tries to address the issue raised in 16282 by add go_package to proto files, so that generated go files have correct path. This fix fixes 16282. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add go_package to proto definition in tensorflow/core/framework Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add go_package to proto definition in tensorflow/core/example Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add go_package to proto definition in tensorflow/core/example Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/core/framework/node_def.proto')
-rw-r--r--tensorflow/core/framework/node_def.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/framework/node_def.proto b/tensorflow/core/framework/node_def.proto
index 8fcee32e29..0a095f903f 100644
--- a/tensorflow/core/framework/node_def.proto
+++ b/tensorflow/core/framework/node_def.proto
@@ -5,7 +5,7 @@ option cc_enable_arenas = true;
option java_outer_classname = "NodeProto";
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/attr_value.proto";
message NodeDef {