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

Method init_output_static_infer_desc

src/opr/impl/dnn/batch_norm.cpp:237–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void BatchNormForward::init_output_static_infer_desc() {
238 Super::set_nr_managed_outputs(this->output().size() - 1);
239 Super::init_output_static_infer_desc();
240 this->init_output_static_infer_desc_workspace(
241 intl::AutoAddWorkspaceNeedLimitGetter<megdnn::BNForward>::val);
242}
243
244void BatchNormForward::init_output_dtype() {
245 size_t nr_inp = input().size();

Callers

nothing calls this directly

Calls 5

sizeMethod · 0.45
outputMethod · 0.45
register_shape_inferMethod · 0.45

Tested by

no test coverage detected