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

Method comp_node

src/core/include/megbrain/graph/var_node.h:370–370  ·  view source on GitHub ↗

! * \brief get the comp node on which this var is computed */

Source from the content-addressed store, hash-verified

368 * \brief get the comp node on which this var is computed
369 */
370 CompNode comp_node() const { return m_comp_node; }
371
372 /*!
373 * \brief set comp node; only the memory node could be changed if called

Callers 3

dev_tensor_validMethod · 0.45
make_scalarMethod · 0.45
OperatorNodeConfigClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected