From b38d6575ef8d2cdfcfb1ef22a09743087c00d451 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Thu, 23 Aug 2018 17:45:40 -0700 Subject: [XLA] Get rid of some straggling references to tensorflow::str_util. PiperOrigin-RevId: 210031885 --- tensorflow/compiler/xla/service/hlo_parser.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tensorflow/compiler/xla/service/hlo_parser.cc') diff --git a/tensorflow/compiler/xla/service/hlo_parser.cc b/tensorflow/compiler/xla/service/hlo_parser.cc index 2cb2e407c5..8318a684fd 100644 --- a/tensorflow/compiler/xla/service/hlo_parser.cc +++ b/tensorflow/compiler/xla/service/hlo_parser.cc @@ -40,7 +40,6 @@ using ::absl::optional; using ::absl::StrAppend; using ::absl::StrCat; using ::absl::StrJoin; -using ::tensorflow::str_util::Split; using ::tensorflow::str_util::SplitAndParseAsInts; using ::tensorflow::strings::Printf; @@ -2854,7 +2853,7 @@ bool HloParser::ParseWindowPad( return TokenError("expects window pad pattern, e.g., '0_0x3_3'"); } string str = lexer_.GetStrVal(); - std::vector padding_str = Split(str, 'x'); + std::vector padding_str = absl::StrSplit(str, 'x'); for (int i = 0; i < padding_str.size(); i++) { std::vector low_high; if (!SplitAndParseAsInts(padding_str[i], '_', &low_high) || @@ -2878,7 +2877,7 @@ bool HloParser::ParsePaddingConfig(PaddingConfig* padding) { } LocTy loc = lexer_.GetLoc(); string str = lexer_.GetStrVal(); - std::vector padding_str = Split(str, 'x'); + std::vector padding_str = absl::StrSplit(str, 'x'); for (const auto& padding_dim_str : padding_str) { std::vector padding_dim; if (!SplitAndParseAsInts(padding_dim_str, '_', &padding_dim) || -- cgit v1.2.3