Searched refs:HumanReadableNum (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | numbers_test.cc | 62 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()
|
D | numbers.h | 160 std::string HumanReadableNum(int64 value);
|
D | numbers.cc | 451 string HumanReadableNum(int64 value) { in HumanReadableNum() function
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | summarize_graph_main.cc | 231 << strings::HumanReadableNum(const_parameter_count) in SummarizeGraph() 233 << strings::HumanReadableNum(variable_parameter_count) in SummarizeGraph()
|
/external/tensorflow/tensorflow/tools/benchmark/ |
D | benchmark_model.cc | 647 LOG(INFO) << "FLOPs estimate: " << strings::HumanReadableNum(total_flops); in Main() 650 << strings::HumanReadableNum( in Main()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | util.cc | 172 string throughput = tensorflow::strings::HumanReadableNum( in HumanReadableNumOps()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_graph_dumper.cc | 474 tensorflow::strings::HumanReadableNum(cycles)); in Header()
|