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

Method Allocate

tensorflow/core/framework/ev_allocator.h:567–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565 }
566
567 void* Allocate(size_t num_bytes) {
568
569 return GetThreadLocalCache()->Allocate(num_bytes);
570 }
571
572 size_t BatchAllocate(size_t num, size_t num_bytes, void** ret) {
573 return GetThreadLocalCache()->BatchAllocate(num, num_bytes, ret);

Callers

nothing calls this directly

Calls 1

AllocateMethod · 0.45

Tested by

no test coverage detected