Home
last modified time | relevance | path

Searched refs:SplitAndParseAsFloats (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/lib/strings/
Dstr_util_test.cc317 TEST(SplitAndParseAsFloats, Float) { in TEST() argument
319 EXPECT_TRUE(str_util::SplitAndParseAsFloats("", ',', &nums)); in TEST()
322 EXPECT_TRUE(str_util::SplitAndParseAsFloats("134.2323", ',', &nums)); in TEST()
326 EXPECT_TRUE(str_util::SplitAndParseAsFloats("134.9,2.123,13.0000,-5.999,1e6", in TEST()
335 EXPECT_FALSE(str_util::SplitAndParseAsFloats("abc", ',', &nums)); in TEST()
337 EXPECT_FALSE(str_util::SplitAndParseAsFloats("-13.0,abc", ',', &nums)); in TEST()
339 EXPECT_FALSE(str_util::SplitAndParseAsFloats("13.0,abc,-5.999", ',', &nums)); in TEST()
Dstr_util.h140 bool SplitAndParseAsFloats(StringPiece text, char delim,
Dstr_util.cc448 bool SplitAndParseAsFloats(StringPiece text, char delim, in SplitAndParseAsFloats() function
/external/tensorflow/tensorflow/core/kernels/
Dspectrogram_test_utils.cc165 CHECK(str_util::SplitAndParseAsFloats(lines[l], ',', &values)); in ReadCSVFileToArrayOrDie()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc63 CHECK(tensorflow::str_util::SplitAndParseAsFloats(line, ',', &tokens)); in ReadLocationsFile()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc549 CHECK(str_util::SplitAndParseAsFloats(input_layer_values[n], ',', in Main()