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

Method OprReaderForTest

src/gopt/test/helper.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29MGB_DYN_TYPE_OBJ_FINAL_IMPL(OprReaderForTest);
30
31OprReaderForTest::OprReaderForTest(VarNode* input, const OperatorNodeConfig& config)
32 : Super(input->owner_graph(), config, "opr_reader", {input}) {
33 add_input({input});
34 add_output(None);
35}
36
37SymbolVar OprReaderForTest::make(SymbolVar input, const OperatorNodeConfig& config) {
38 return input.insert_single_output_opr<OprReaderForTest>(input.node(), config);

Callers

nothing calls this directly

Calls 1

owner_graphMethod · 0.45

Tested by

no test coverage detected