MCPcopy Create free account
hub / github.com/apache/tvm-ffi / DLDataTypeCodeGetCustomTypeName

Function DLDataTypeCodeGetCustomTypeName

src/ffi/dtype.cc:30–33  ·  view source on GitHub ↗

! * \brief Get the custom type name for a given type code. */

Source from the content-addressed store, hash-verified

28 * \brief Get the custom type name for a given type code.
29 */
30inline String DLDataTypeCodeGetCustomTypeName(DLDataTypeCode type_code) {
31 static Function fget_custom_type_name = Function::GetGlobalRequired("dtype.get_custom_type_name");
32 return fget_custom_type_name(static_cast<int>(type_code)).cast<String>();
33}
34
35/*!
36 * \brief Get the custom type name for a given type code.

Callers 2

PrintDLDataTypeCodeAsStrFunction · 0.85
DLDataTypeToString_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected