MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / feed

Method feed

dnn/src/naive/pooling/opr_impl.cpp:242–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 count = 0;
241 }
242 void feed(T x) {
243 sum += U(x);
244 ++count;
245 }
246 T get_ans() {
247 if (count == 0u) {
248 megdnn_throw("The pooling window lies outside completely");

Callers

nothing calls this directly

Calls 1

UFunction · 0.50

Tested by

no test coverage detected