From 87e90e5eb7a4865efc72a89a86a622d871a7f455 Mon Sep 17 00:00:00 2001 From: Dero Gharibian Date: Mon, 26 Aug 2019 07:12:39 -0700 Subject: [PATCH] Updated tools/ to use tstring. This is a part of a larger migration effort for tensorflow::tstring. See: https://github.com/tensorflow/community/pull/91 PiperOrigin-RevId: 265449545 --- tensorflow/tools/graph_transforms/sparsify_gather_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/tools/graph_transforms/sparsify_gather_test.cc b/tensorflow/tools/graph_transforms/sparsify_gather_test.cc index dfe8fb0e32b..0161ad67e2c 100644 --- a/tensorflow/tools/graph_transforms/sparsify_gather_test.cc +++ b/tensorflow/tools/graph_transforms/sparsify_gather_test.cc @@ -107,7 +107,7 @@ class SparsifyGatherTest : public ::testing::Test { CreateNode("save/Const", "Const", {}, &graph_def); Tensor tensor_names_values(DT_STRING, TensorShape({1})); - test::FillValues(&tensor_names_values, {"w"}); + test::FillValues(&tensor_names_values, {"w"}); NodeDef* tensor_names_node = CreateNode("save/RestoreV2/tensor_names", "Const", {}, &graph_def); SetNodeTensorAttr("value", tensor_names_values, @@ -320,7 +320,7 @@ class SparsifyGatherTest : public ::testing::Test { NodeDef* tensor_names_node = CreateNode("save/RestoreV2/tensor_names", "Const", {}, &graph_def); Tensor tensor_names_values(DT_STRING, TensorShape({2})); - test::FillValues(&tensor_names_values, {"w1", "w2"}); + test::FillValues(&tensor_names_values, {"w1", "w2"}); SetNodeTensorAttr("value", tensor_names_values, tensor_names_node);