MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TotalAllocationWarningBytes

Function TotalAllocationWarningBytes

tensorflow/core/framework/ev_allocator.cc:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28static int64_t TotalAllocationWarningBytes() {
29 static int64_t value = static_cast<int64>(port::AvailableRam() *
30 kTotalAllocationWarningThreshold);
31 return value;
32}
33
34namespace {
35

Callers 3

AllocateRawMethod · 0.70
BatchAllocateRawMethod · 0.70
AllocateRawMethod · 0.70

Calls 1

AvailableRamFunction · 0.50

Tested by

no test coverage detected