diff options
author | Justin Lebar <jlebar@google.com> | 2018-08-23 17:45:40 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-23 17:49:04 -0700 |
commit | b38d6575ef8d2cdfcfb1ef22a09743087c00d451 (patch) | |
tree | 358ffc7850e715a53c7de7e416ed1b951954913e /tensorflow/compiler/xla/service/hlo_parser.cc | |
parent | 82ed20cb8522eb61ab1dbb810cc37573a99b751e (diff) |
[XLA] Get rid of some straggling references to tensorflow::str_util.
PiperOrigin-RevId: 210031885
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_parser.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_parser.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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<string> padding_str = Split(str, 'x'); + std::vector<string> padding_str = absl::StrSplit(str, 'x'); for (int i = 0; i < padding_str.size(); i++) { std::vector<tensorflow::int64> 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<string> padding_str = Split(str, 'x'); + std::vector<string> padding_str = absl::StrSplit(str, 'x'); for (const auto& padding_dim_str : padding_str) { std::vector<tensorflow::int64> padding_dim; if (!SplitAndParseAsInts(padding_dim_str, '_', &padding_dim) || |