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

Method valid

dnn/include/megdnn/dtype.h:443–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441 DType() : m_trait(nullptr) {}
442
443 bool valid() const { return m_trait != nullptr; }
444
445 /*!
446 * \brief name of this data type

Calls

no outgoing calls

Tested by

no test coverage detected