Searched refs:neg_str (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | human_readable.h | 36 const char* neg_str = GetNegStr(&num_bytes); in ToString() local 41 return port::Printf("%s%lldB", neg_str, num_bytes); in ToString() 52 return port::Printf(((*unit == 'K') ? "%s%.1f%c" : "%s%.2f%c"), neg_str, in ToString()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | numbers.cc | 465 const char* neg_str = (num_bytes < 0) ? "-" : ""; in HumanReadableNumBytes() local 474 snprintf(buf, sizeof(buf), "%s%lldB", neg_str, in HumanReadableNumBytes() 490 neg_str, num_bytes / 1024.0, *unit); in HumanReadableNumBytes()
|