tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
tvm::prim::Select Class Reference

Managed reference to SelectNode. More...

#include <expr.h>

Inheritance diagram for tvm::prim::Select:
Collaboration diagram for tvm::prim::Select:

Public Member Functions

TVM_TIRX_DLL Select (PrimExpr condition, PrimExpr true_value, PrimExpr false_value, Location loc=UnknownLoc())
 
 Select (ffi::ObjectPtr< SelectNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Select, PrimExpr, SelectNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (SelectNode)
 
- Public Member Functions inherited from tvm::PrimExpr
TVM_TIRX_DLL PrimExpr (Call call)
 Construct from a call after checking that its result type is PrimType.
 
TVM_TIRX_DLL PrimExpr (int32_t value)
 construct from integer.
 
TVM_TIRX_DLL PrimExpr (float value)
 construct from float.
 
 PrimExpr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PrimExpr, TypedExpr< PrimType >, ExprNode)
 
- Public Member Functions inherited from tvm::TypedExpr< PrimType >
PrimType 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 = true
 
- Static Public Attributes inherited from tvm::PrimExpr
static constexpr bool _type_container_is_exact = false
 
- Static Public Attributes inherited from tvm::TypedExpr< PrimType >
static constexpr bool _type_container_is_exact
 

Detailed Description

Managed reference to SelectNode.

See also
SelectNode

Constructor & Destructor Documentation

◆ Select() [1/2]

TVM_TIRX_DLL tvm::prim::Select::Select ( PrimExpr  condition,
PrimExpr  true_value,
PrimExpr  false_value,
Location  loc = UnknownLoc() 
)

◆ Select() [2/2]

tvm::prim::Select::Select ( ffi::ObjectPtr< SelectNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::prim::Select::TVM_DEFINE_OBJECT_REF_COW_METHOD ( SelectNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::prim::Select::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( Select  ,
PrimExpr  ,
SelectNode   
)

Member Data Documentation

◆ _type_container_is_exact

constexpr bool tvm::prim::Select::_type_container_is_exact = true
staticconstexpr

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