parameters: (x)
return_statement: return NODE_TYPE.get(tindex.value, NodeBase)(handle)
docstring: Return node function
docstring_summary: Return node function
docstring_tokens: Return node function
function: def _return_node(x):
      """Return node function"""
      handle = x.v_handle
      if not isinstance(handle, NodeHandle):
          handle = NodeHandle(handle)
      tindex = ctypes.c_int()
      check_call(_LIB.TVMNodeGetTypeIndex(handle, ctypes.byref(tindex)))
      return NODE_TYPE.get(tindex.value, NodeBase)(handle)
function_tokens: def _return_node ( x ) : handle = x . v_handle if not isinstance ( handle , NodeHandle ) : handle = NodeHandle ( handle ) tindex = ctypes . c_int ( ) check_call ( _LIB . TVMNodeGetTypeIndex ( handle , ctypes . byref ( tindex ) ) ) return NODE_TYPE . get ( tindex . value , NodeBase ) ( handle )