TVM  0.9.4
tvm::internal::RangeCounting::Limit Struct Reference

#include <tvm/internal/RangeCounting.h>

Public Types

enum  Type { Lower = -1 , Cut = 0 , Upper = 1 }
 

Public Member Functions

 Limit (int i, Type type)
 
bool operator== (const Limit &other) const
 
bool operator< (const Limit &other) const
 
bool operator<= (const Limit &other) const
 
bool operator> (const Limit &other) const
 
bool operator>= (const Limit &other) const
 

Public Attributes

int i_
 
Type type_
 

Friends

std::ostream & operator<< (std::ostream &os, const Limit &lim)
 

Detailed Description

The lower (included) or upper (excluded) limit of a range

Member Enumeration Documentation

◆ Type

Enumerator
Lower 
Cut 
Upper 

Constructor & Destructor Documentation

◆ Limit()

tvm::internal::RangeCounting::Limit::Limit ( int  i,
Type  type 
)
inline

Member Function Documentation

◆ operator<()

bool tvm::internal::RangeCounting::Limit::operator< ( const Limit other) const
inline

◆ operator<=()

bool tvm::internal::RangeCounting::Limit::operator<= ( const Limit other) const
inline

◆ operator==()

bool tvm::internal::RangeCounting::Limit::operator== ( const Limit other) const
inline

◆ operator>()

bool tvm::internal::RangeCounting::Limit::operator> ( const Limit other) const
inline

◆ operator>=()

bool tvm::internal::RangeCounting::Limit::operator>= ( const Limit other) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Limit lim 
)
friend

Member Data Documentation

◆ i_

int tvm::internal::RangeCounting::Limit::i_

◆ type_

Type tvm::internal::RangeCounting::Limit::type_

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