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

Method BatchDeallocate

tensorflow/core/framework/ev_allocator.h:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 }
338
339 void BatchDeallocate(std::vector<void *> &ptrs) {
340 mutex_lock l(mu_);
341 free_queue_.PushBatch(ptrs.size(), ptrs.data());
342 }
343
344 size_t BinSize() const {
345 return bin_size_;

Callers 2

BatchDeallocateMethod · 0.45
FlushBackToArenaMethod · 0.45

Calls 3

PushBatchMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected