Searched refs:neg_str (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | human_readable.h | 37 const char* neg_str = GetNegStr(&num_bytes); in ToString() local 42 return absl::StrFormat("%s%dB", neg_str, num_bytes); in ToString() 54 return absl::StrFormat("%s%.1f%c", neg_str, num_bytes / 1024.0, *unit); in ToString() 56 return absl::StrFormat("%s%.2f%c", neg_str, num_bytes / 1024.0, *unit); in ToString()
|
/external/tensorflow/tensorflow/core/platform/ |
D | numbers.cc | 481 const char* neg_str = (num_bytes < 0) ? "-" : ""; in HumanReadableNumBytes() local 490 snprintf(buf, sizeof(buf), "%s%lldB", neg_str, in HumanReadableNumBytes() 506 neg_str, num_bytes / 1024.0, *unit); in HumanReadableNumBytes()
|