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

Method comp_node_valid

src/core/include/megbrain/tensor.h:181–181  ·  view source on GitHub ↗

! * \brief whether underlying comp_node is valid */

Source from the content-addressed store, hash-verified

179 * \brief whether underlying comp_node is valid
180 */
181 bool comp_node_valid() const { return m_comp_node.valid(); }
182
183 /*!
184 * \brief whether this tensor has no valid element (either due to

Callers 12

TESTFunction · 0.80
TESTFunction · 0.80
tensor.cppFile · 0.80
var_node.cppFile · 0.80
alloc_directMethod · 0.80
alloc_with_defragMethod · 0.80
defrag_implMethod · 0.80
dev_tensor_validMethod · 0.80
performMethod · 0.80
set_tensorMethod · 0.80

Calls 1

validMethod · 0.45

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64