aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/remote_fused_graph_execute_utils.cc
diff options
context:
space:
mode:
authorGravatar Geoffrey Irving <geoffreyi@google.com>2017-05-16 17:01:31 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-16 17:05:15 -0700
commit43db5c623f748b6f9704e9e9be5a5a11fa2a4c1a (patch)
tree985844ec8f6653f36e38592f9700dcaba66d94f2 /tensorflow/core/kernels/remote_fused_graph_execute_utils.cc
parent7ab0c2eff12ea79648f6717dae8558d6669e5c27 (diff)
Automated g4 rollback of changelist 156244933
PiperOrigin-RevId: 156251356
Diffstat (limited to 'tensorflow/core/kernels/remote_fused_graph_execute_utils.cc')
-rw-r--r--tensorflow/core/kernels/remote_fused_graph_execute_utils.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/kernels/remote_fused_graph_execute_utils.cc b/tensorflow/core/kernels/remote_fused_graph_execute_utils.cc
index 2174098bde..456611894d 100644
--- a/tensorflow/core/kernels/remote_fused_graph_execute_utils.cc
+++ b/tensorflow/core/kernels/remote_fused_graph_execute_utils.cc
@@ -333,17 +333,17 @@ RemoteFusedGraphExecuteUtils::AddOutputTensorShapeTypeByTensorShapeMap(
}
/* static */ Status RemoteFusedGraphExecuteUtils::GetOutputTensorShapeType(
- AttrSlice attrs, std::vector<DataType>* data_types,
+ const NodeDef& node_def, std::vector<DataType>* data_types,
std::vector<TensorShape>* shapes) {
Status status;
if (data_types != nullptr) {
- status = GetNodeAttr(attrs, ATTR_OUTPUT_DATA_TYPES, data_types);
+ status = GetNodeAttr(node_def, ATTR_OUTPUT_DATA_TYPES, data_types);
}
if (!status.ok()) {
return status;
}
if (shapes != nullptr) {
- status = GetNodeAttr(attrs, ATTR_OUTPUT_SHAPES, shapes);
+ status = GetNodeAttr(node_def, ATTR_OUTPUT_SHAPES, shapes);
if (status.ok() && data_types != nullptr) {
CHECK_EQ(data_types->size(), shapes->size());
}