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

Method BatchAllocate

tensorflow/core/framework/ev_allocator.h:572–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570 }
571
572 size_t BatchAllocate(size_t num, size_t num_bytes, void** ret) {
573 return GetThreadLocalCache()->BatchAllocate(num, num_bytes, ret);
574 }
575
576 void Deallocate(void* ptr) {
577 GetThreadLocalCache()->Deallocate(AllocatedSize(ptr), ptr);

Callers

nothing calls this directly

Calls 1

BatchAllocateMethod · 0.45

Tested by

no test coverage detected