tvm
Public Member Functions | Static Public Attributes | List of all members
tvm::TypedExpr< ExpectedType > Class Template Reference

Typed reference/view over an expression whose result type is a specific Type subtype. More...

#include <base_expr.h>

Inheritance diagram for tvm::TypedExpr< ExpectedType >:
Collaboration diagram for tvm::TypedExpr< ExpectedType >:

Public Member Functions

ExpectedType ty () const
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (TypedExpr, Expr, ExprNode)
 
- Public Member Functions inherited from tvm::Expr
bool operator== (const Expr &other) const =delete
 
bool operator!= (const Expr &other) const =delete
 
bool operator< (const Expr &other) const =delete
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (Expr, ffi::ObjectRef, ExprNode)
 

Static Public Attributes

static constexpr bool _type_container_is_exact = false
 

Detailed Description

template<typename ExpectedType>
class tvm::TypedExpr< ExpectedType >

Typed reference/view over an expression whose result type is a specific Type subtype.

Template Parameters
ExpectedTypeThe expected expression result type.

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE()

template<typename ExpectedType >
tvm::TypedExpr< ExpectedType >::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE ( TypedExpr< ExpectedType >  ,
Expr  ,
ExprNode   
)

◆ ty()

template<typename ExpectedType >
ExpectedType tvm::TypedExpr< ExpectedType >::ty ( ) const
inline
Returns
the typed result of this expression.

Member Data Documentation

◆ _type_container_is_exact

template<typename ExpectedType >
constexpr bool tvm::TypedExpr< ExpectedType >::_type_container_is_exact = false
staticconstexpr

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