/external/tensorflow/tensorflow/core/lib/strings/ |
D | str_util_test.cc | 270 TEST(SplitAndParseAsInts, Int32) { in TEST() argument 272 EXPECT_TRUE(str_util::SplitAndParseAsInts("", ',', &nums)); in TEST() 275 EXPECT_TRUE(str_util::SplitAndParseAsInts("134", ',', &nums)); in TEST() 279 EXPECT_TRUE(str_util::SplitAndParseAsInts("134,2,13,-5", ',', &nums)); in TEST() 286 EXPECT_FALSE(str_util::SplitAndParseAsInts("abc", ',', &nums)); in TEST() 288 EXPECT_FALSE(str_util::SplitAndParseAsInts("-13,abc", ',', &nums)); in TEST() 290 EXPECT_FALSE(str_util::SplitAndParseAsInts("13,abc,5", ',', &nums)); in TEST() 293 TEST(SplitAndParseAsInts, Int64) { in TEST() argument 295 EXPECT_TRUE(str_util::SplitAndParseAsInts("", ',', &nums)); in TEST() 298 EXPECT_TRUE(str_util::SplitAndParseAsInts("134", ',', &nums)); in TEST() [all …]
|
D | str_util.cc | 220 bool SplitAndParseAsInts(StringPiece text, char delim, in SplitAndParseAsInts() function 438 bool SplitAndParseAsInts(StringPiece text, char delim, in SplitAndParseAsInts() function 440 return SplitAndParseAsInts<int32>(text, delim, strings::safe_strto32, result); in SplitAndParseAsInts() 443 bool SplitAndParseAsInts(StringPiece text, char delim, in SplitAndParseAsInts() function 445 return SplitAndParseAsInts<int64>(text, delim, strings::safe_strto64, result); in SplitAndParseAsInts() 450 return SplitAndParseAsInts<float>(text, delim, in SplitAndParseAsFloats()
|
D | str_util.h | 136 bool SplitAndParseAsInts(StringPiece text, char delim, 138 bool SplitAndParseAsInts(StringPiece text, char delim,
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_rewriter_transform.cc | 58 CHECK(str_util::SplitAndParseAsInts(shape_string, ',', &dims)); in RewriteQuantizedStrippedModelForHexagon()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | remote_fused_graph_rewriter_transform.cc | 120 CHECK(str_util::SplitAndParseAsInts(input_shapes_strs.at(i), ',', &dims)); in PlaceShapeType()
|
/external/tensorflow/tensorflow/tools/benchmark/ |
D | benchmark_model.cc | 536 CHECK(str_util::SplitAndParseAsInts(input_layer_shapes[n], ',', &sizes)) in Main()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.cc | 600 if (!str_util::SplitAndParseAsInts(shape_string, ',', &dims)) { in TensorShapeFromString()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | collective_param_resolver_local.cc | 179 if (!str_util::SplitAndParseAsInts(gpu_ring_order_str, ',', in ParseRingOrder()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 554 if (!str_util::SplitAndParseAsInts(range_piece, '-', &range_parts) || in RequestUploadSessionStatus()
|