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

Method enumv

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

get corresponding enum value for this dtype

Source from the content-addressed store, hash-verified

520
521 //! get corresponding enum value for this dtype
522 DTypeEnum enumv() const { return m_trait->enumv; }
523
524 //! get category of this data type
525 DTypeCategory category() const { return m_trait->category; }

Callers 15

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
run_test_boolFunction · 0.45
TEST_FFunction · 0.45
__assert_tensor_eqMethod · 0.45
check_matrix_mulMethod · 0.45
benchmark_single_algoMethod · 0.45

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
run_test_boolFunction · 0.36
TEST_FFunction · 0.36
__assert_tensor_eqMethod · 0.36
check_matrix_mulMethod · 0.36
benchmark_single_algoMethod · 0.36