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

Method feed

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

Source from the content-addressed store, hash-verified

25 fed = false;
26 }
27 void feed(ctype x) {
28 answer = answer > x ? answer : x;
29 fed = true;
30 }
31 ctype get_ans() {
32 if (!fed) {
33 megdnn_throw("The pooling window lies outside completely");

Callers 3

forward_implFunction · 0.45
forward_implFunction · 0.45
repFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected