tvm
Loading...
Searching...
No Matches
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
 
 TypedExpr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (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
 
 Expr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (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.

Constructor & Destructor Documentation

◆ TypedExpr()

template<typename ExpectedType >
tvm::TypedExpr< ExpectedType >::TypedExpr ( ffi::ObjectPtr< ExprNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

template<typename ExpectedType >
tvm::TypedExpr< ExpectedType >::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( 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: