Home
last modified time | relevance | path

Searched refs:HumanReadableNum (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dnumbers_test.cc62 TEST(HumanReadableNum, Basic) { in TEST() argument
63 EXPECT_EQ(HumanReadableNum(823), "823"); in TEST()
64 EXPECT_EQ(HumanReadableNum(1024), "1.02k"); in TEST()
65 EXPECT_EQ(HumanReadableNum(4000), "4.00k"); in TEST()
66 EXPECT_EQ(HumanReadableNum(999499), "999.50k"); in TEST()
67 EXPECT_EQ(HumanReadableNum(1000000), "1.00M"); in TEST()
68 EXPECT_EQ(HumanReadableNum(1048575), "1.05M"); in TEST()
69 EXPECT_EQ(HumanReadableNum(1048576), "1.05M"); in TEST()
70 EXPECT_EQ(HumanReadableNum(23956812342), "23.96B"); in TEST()
71 EXPECT_EQ(HumanReadableNum(123456789012345678), "1.23E+17"); in TEST()
Dnumbers.h160 std::string HumanReadableNum(int64 value);
Dnumbers.cc451 string HumanReadableNum(int64 value) { in HumanReadableNum() function
/external/tensorflow/tensorflow/tools/graph_transforms/
Dsummarize_graph_main.cc231 << strings::HumanReadableNum(const_parameter_count) in SummarizeGraph()
233 << strings::HumanReadableNum(variable_parameter_count) in SummarizeGraph()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc647 LOG(INFO) << "FLOPs estimate: " << strings::HumanReadableNum(total_flops); in Main()
650 << strings::HumanReadableNum( in Main()
/external/tensorflow/tensorflow/compiler/xla/
Dutil.cc172 string throughput = tensorflow::strings::HumanReadableNum( in HumanReadableNumOps()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc474 tensorflow::strings::HumanReadableNum(cycles)); in Header()