Managed reference class to IntImmNode.
More...
#include <expr.h>
|
| TVM_TIRX_DLL | IntImm (PrimType value_ty, ffi::BigInt value, Location loc=UnknownLoc()) |
| | Constructor.
|
| |
| template<typename Enum , std::enable_if_t< std::is_enum_v< Enum >, int > = 0> |
| | IntImm (PrimType value_ty, Enum value, Location loc=UnknownLoc()) |
| |
| | IntImm (ffi::ObjectPtr< IntImmNode > node) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (IntImm, PrimExpr, IntImmNode) |
| |
| | TVM_DEFINE_OBJECT_REF_COW_METHOD (IntImmNode) |
| |
| 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) |
| |
| PrimType | ty () const |
| |
| | TypedExpr (ffi::ObjectPtr< ExprNode > node) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (TypedExpr, Expr, ExprNode) |
| |
| 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) |
| |
Managed reference class to IntImmNode.
- See also
- IntImmNode
◆ IntImm() [1/3]
Constructor.
- Parameters
-
| value_ty | The primitive type of the value. |
| value | The internal value. |
| loc | The location of this object in the source code. |
◆ IntImm() [2/3]
template<typename Enum , std::enable_if_t< std::is_enum_v< Enum >, int > = 0>
◆ IntImm() [3/3]
| tvm::IntImm::IntImm |
( |
ffi::ObjectPtr< IntImmNode > |
node | ) |
|
|
inlineexplicit |
◆ Bool()
Construct a scalar boolean constant.
- Parameters
-
| value | The boolean value. |
| loc | The location of this object in the source code. |
◆ Int32() [1/2]
template<typename Enum , std::enable_if_t< std::is_enum_v< Enum >, int > = 0>
◆ Int32() [2/2]
Construct a scalar int32 constant.
- Parameters
-
| value | The integer value. |
| loc | The location of this object in the source code. |
◆ Int64() [1/2]
template<typename Enum , std::enable_if_t< std::is_enum_v< Enum >, int > = 0>
◆ Int64() [2/2]
Construct a scalar int64 constant.
- Parameters
-
| value | The integer value. |
| loc | The location of this object in the source code. |
◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()
| tvm::IntImm::TVM_DEFINE_OBJECT_REF_COW_METHOD |
( |
IntImmNode |
| ) |
|
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
◆ _type_container_is_exact
| constexpr bool tvm::IntImm::_type_container_is_exact = true |
|
staticconstexpr |
The documentation for this class was generated from the following file: