TVM  0.9.4
tvm::graph::internal::Log::EnumValue Struct Reference

#include <tvm/graph/internal/Log.h>

Public Member Functions

template<typename E >
 EnumValue (E e)
 
bool operator< (const EnumValue &other) const
 
bool operator== (const EnumValue &other) const
 

Public Attributes

std::type_index type
 
int value
 

Detailed Description

A non-enum representation of enum, as a pair (type of enum, value).

Constructor & Destructor Documentation

◆ EnumValue()

template<typename E >
tvm::graph::internal::Log::EnumValue::EnumValue ( e)
inline

Build from an enum

Member Function Documentation

◆ operator<()

bool tvm::graph::internal::Log::EnumValue::operator< ( const EnumValue other) const
inline

◆ operator==()

bool tvm::graph::internal::Log::EnumValue::operator== ( const EnumValue other) const
inline

Member Data Documentation

◆ type

std::type_index tvm::graph::internal::Log::EnumValue::type

◆ value

int tvm::graph::internal::Log::EnumValue::value

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