Home
last modified time | relevance | path

Searched refs:neg_str (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/lib/
Dhuman_readable.h37 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/
Dnumbers.cc481 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()