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

Method deduce_layout

dnn/src/common/lsq.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void LSQForward::deduce_layout(
24 const TensorLayout& input, const TensorLayout& /* scale */,
25 const TensorLayout& /*zero_point*/, const TensorLayout& /*grad_scale*/,
26 TensorLayout& output) {
27 deduce_layout_fwd(input, output);
28}
29
30void LSQForward::check_exec(
31 const TensorLayout& input, const TensorLayout& scale,

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
run_svd_empty_grad_testFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
convolution.cppFile · 0.45
run_forwardFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
get_output_var_shapeMethod · 0.45

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.36
TESTFunction · 0.36
run_svd_empty_grad_testFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
run_forwardFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36