code: def register(type_name, type_code):
      """Register a custom datatype with the given type name and type code
  
      Currently, the type code is manually allocated by the user, and the user
      must ensure that no two custom types share the same code. Generally, this
      should be straightforward, as the user will be manually registering all of
      their custom types.
  
      Example:
  
      .. code-block:: python
  
          # Register a dtype named 'posites2' under type code 130.
          tvm.target.datatype.register('posites2', 130)
  
  
      Parameters
      ----------
      type_name : str
          The name of the custom datatype.
  
      type_code : int
          The type's code, which should be >= kCustomBegin. See
          include/tvm/runtime/data_type.h.
      """
      tvm.runtime._ffi_api._datatype_register(type_name, type_code)
  
file_path: tvm/python/tvm/target/datatype.py
imports: import tvm
  from tvm.runtime import convert, DataType
  from tvm.tir.expr import Call, Cast, FloatImm, BinaryOpExpr
  from tvm.tir.op import call_pure_extern
  from tvm._ffi import register_func
  from tvm.tir import call_intrin
label_desc: Use image node_id 1 for calling a global function with example usage: register(type_name, type_code) without return types