Replaced calls to tensorflow::StringPiece::ToString with std::string conversions.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 3 May 2018 01:52:02 +0000 (18:52 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 3 May 2018 01:55:37 +0000 (18:55 -0700)
commit223be4abe74592a781735a6b66e12cb0146f0830
tree40171aa19e37c27169ec94e745354e8020107842
parent2b1a03c2ad502329a1f2b1368a40913ef21e97a0
Replaced calls to tensorflow::StringPiece::ToString with std::string conversions.
That is, instances of sp.ToString() are replaced with std::string(sp).

This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view.

PiperOrigin-RevId: 195188185
21 files changed:
tensorflow/cc/framework/cc_op_gen.cc
tensorflow/cc/framework/scope.cc
tensorflow/compiler/tf2xla/tf2xla_util.cc
tensorflow/compiler/tf2xla/xla_op_registry.cc
tensorflow/compiler/xla/service/llvm_ir/llvm_loop.cc
tensorflow/compiler/xla/service/llvm_ir/llvm_loop.h
tensorflow/compiler/xla/tools/parser/hlo_lexer.cc
tensorflow/compiler/xla/tools/parser/hlo_parser.cc
tensorflow/core/debug/debug_graph_utils.cc
tensorflow/core/debug/debug_io_utils.cc
tensorflow/core/distributed_runtime/master_session.cc
tensorflow/core/distributed_runtime/remote_device.cc
tensorflow/core/grappler/utils.h
tensorflow/core/kernels/hexagon/graph_transferer.cc
tensorflow/core/kernels/hexagon/hexagon_control_wrapper.cc
tensorflow/core/lib/io/path.cc
tensorflow/core/lib/io/table_test.cc
tensorflow/core/util/tensor_bundle/tensor_bundle.cc
tensorflow/core/util/tensor_bundle/tensor_bundle_test.cc
tensorflow/stream_executor/kernel.cc
tensorflow/stream_executor/kernel_spec.cc