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

Method add_input_layout_constraint

src/opr/impl/indexing.cpp:234–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void IndexingSetOneHot::add_input_layout_constraint() {
235 mixin::megdnn_utils::add_input_layout_constraint_contig(*this);
236}
237
238void IndexingSetOneHot::mem_plan_fwd_in2out_writable() {
239 cg::request_fwd_in2out_writable_if_no_mem_ovelap(this, 0, 0);

Callers

nothing calls this directly

Calls 3

collapse_contiguousMethod · 0.80
add_layout_constraintMethod · 0.80
inputMethod · 0.45

Tested by

no test coverage detected