tvm
Public Types | Static Public Member Functions | List of all members
tvm::runtime::Array< T, typename >::ValueConverter Struct Reference

#include <array.h>

Collaboration diagram for tvm::runtime::Array< T, typename >::ValueConverter:

Public Types

using ResultType = T
 

Static Public Member Functions

static T convert (const ObjectRef &n)
 

Member Typedef Documentation

◆ ResultType

template<typename T , typename = typename std::enable_if<std::is_base_of<ObjectRef, T>::value>::type>
using tvm::runtime::Array< T, typename >::ValueConverter::ResultType = T

Member Function Documentation

◆ convert()

template<typename T , typename = typename std::enable_if<std::is_base_of<ObjectRef, T>::value>::type>
static T tvm::runtime::Array< T, typename >::ValueConverter::convert ( const ObjectRef n)
inlinestatic

The documentation for this struct was generated from the following file: