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

Method PushBatch

tensorflow/core/framework/ev_allocator.h:161–165  ·  view source on GitHub ↗

PushBatch and PopBatch do not guarantee an ordering.

Source from the content-addressed store, hash-verified

159
160 // PushBatch and PopBatch do not guarantee an ordering.
161 void PushBatch(int N, void** ptrs) {
162 for (int i = 0; i < N; ++i) {
163 list_.push_front(ptrs[i]);
164 }
165 }
166
167 int PopBatch(int N, void** ret) {
168 int count = list_.size();

Callers 1

BatchDeallocateMethod · 0.45

Calls 1

push_frontMethod · 0.80

Tested by

no test coverage detected