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

Function get_input_layout_constraint

imperative/src/impl/ops/rng.cpp:996–1000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994
995template <typename Op>
996SmallVector<VarNode::LayoutConstraintCallback> get_input_layout_constraint(
997 const OpDef& def, const SmallVector<TensorPtr>& inputs) {
998 SmallVector<VarNode::LayoutConstraintCallback> layout_checker(inputs.size());
999 return layout_checker;
1000}
1001
1002} // anonymous namespace
1003

Callers 1

do_apply_opMethod · 0.50

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected