/external/tensorflow/tensorflow/core/lib/strings/ |
numbers_test.cc | 73 TEST(HumanReadableNumBytes, Bytes) { 74 EXPECT_EQ("0B", HumanReadableNumBytes(0)); 75 EXPECT_EQ("4B", HumanReadableNumBytes(4)); 76 EXPECT_EQ("1023B", HumanReadableNumBytes(1023)); 78 EXPECT_EQ("1.0KiB", HumanReadableNumBytes(1024)); 79 EXPECT_EQ("1.0KiB", HumanReadableNumBytes(1025)); 80 EXPECT_EQ("1.5KiB", HumanReadableNumBytes(1500)); 81 EXPECT_EQ("1.9KiB", HumanReadableNumBytes(1927)); 83 EXPECT_EQ("2.0KiB", HumanReadableNumBytes(2048)); 84 EXPECT_EQ("1.00MiB", HumanReadableNumBytes(1 << 20)) [all...] |
numbers.h | 164 string HumanReadableNumBytes(int64 num_bytes);
|
numbers.cc | 426 string HumanReadableNumBytes(int64 num_bytes) {
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
human_readable.h | 29 class HumanReadableNumBytes {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_rematerialization.cc | 44 using ::tensorflow::strings::HumanReadableNumBytes; 732 &output, "Memory usage: ", HumanReadableNumBytes(memory_usage()), " (", [all...] |
human_readable_profile_builder.cc | 27 using tensorflow::strings::HumanReadableNumBytes; 46 HumanReadableNumBytes(op.bytes_accessed / CyclesToSeconds(op.cycles)); 48 bytes_per_cycle = HumanReadableNumBytes(op.bytes_accessed / op.cycles);
|
device_memory_allocator.cc | 43 tensorflow::strings::HumanReadableNumBytes(size).c_str(), size,
|
hlo_scheduling.cc | 35 using ::tensorflow::strings::HumanReadableNumBytes; 435 VLOG(2) << "Min-memory list sequence: " << HumanReadableNumBytes(list_memory); 444 VLOG(2) << "Min-memory dfs sequence: " << HumanReadableNumBytes(dfs_memory); 448 << HumanReadableNumBytes(list_memory); 452 << HumanReadableNumBytes(dfs_memory);
|
buffer_assignment.cc | 47 using ::tensorflow::strings::HumanReadableNumBytes; 453 HumanReadableNumBytes(parameter_allocation_bytes).c_str()); 455 HumanReadableNumBytes(maybe_live_out_allocation_bytes).c_str()); 457 HumanReadableNumBytes(preallocated_temp_allocation_bytes).c_str()); 463 HumanReadableNumBytes(preallocated_temp_fragmentation_bytes).c_str(), 467 HumanReadableNumBytes(total_allocation_bytes).c_str()); 472 HumanReadableNumBytes(total_fragmentation_bytes).c_str(), percent); [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
bfc_allocator.cc | 59 << strings::HumanReadableNumBytes(bin_size); 135 VLOG(1) << "Extending allocation by " << strings::HumanReadableNumBytes(bytes) 140 << strings::HumanReadableNumBytes(total_region_allocated_bytes_); 221 << "to allocate " << strings::HumanReadableNumBytes(num_bytes) 276 << "to allocate " << strings::HumanReadableNumBytes(num_bytes) 633 << strings::HumanReadableNumBytes(bin_info.total_bytes_in_bin) 635 << strings::HumanReadableNumBytes(bin_info.total_bytes_in_use) 637 << strings::HumanReadableNumBytes( 646 LOG(INFO) << "Bin for " << strings::HumanReadableNumBytes(num_bytes) 647 << " was " << strings::HumanReadableNumBytes(b->bin_size [all...] |
bfc_allocator.h | 131 &dbg, " Size: ", strings::HumanReadableNumBytes(size), 132 " | Requested Size: ", strings::HumanReadableNumBytes(requested_size),
|
step_stats_collector.cc | 340 strings::HumanReadableNumBytes(it->first), " from ", 355 strings::HumanReadableNumBytes(remain_bytes), "\n");
|
/external/tensorflow/tensorflow/stream_executor/ |
device_description.cc | 87 port::HumanReadableNumBytes::ToString(device_memory_size()); 90 port::HumanReadableNumBytes::ToString(shared_memory_per_core_); 92 port::HumanReadableNumBytes::ToString(shared_memory_per_block_);
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
utils.cc | 318 r.append(strings::HumanReadableNumBytes(Average())); 320 r.append(strings::HumanReadableNumBytes(min_)); 322 r.append(strings::HumanReadableNumBytes(max_)); 337 const auto left_string = strings::HumanReadableNumBytes(left); 343 const auto right_string = strings::HumanReadableNumBytes(right);
|
virtual_scheduler.cc | [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
buffer_allocations.cc | 77 tensorflow::strings::HumanReadableNumBytes(buffer_size).c_str(),
|
cudnn_convolution_algorithm_picker.cc | 150 tensorflow::strings::HumanReadableNumBytes(bytes), " (", bytes, "B)");
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_device.cc | [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_driver.cc | [all...] |