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

Method make_input_place_holders

imperative/src/impl/proxy_graph.cpp:560–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560VarNodeArray ProxyGraph::make_input_place_holders(
561 const SmallVector<LogicalTensorDesc>& inputs) {
562 VarNodeArray vinputs(inputs.size());
563 for (size_t i = 0; i < inputs.size(); ++i) {
564 vinputs[i] = InputPlaceholder::make(*m_graph, inputs[i]).node();
565 }
566 return vinputs;
567}
568
569/*********************** Common Impl ***********************/
570

Callers

nothing calls this directly

Calls 3

makeFunction · 0.70
sizeMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected