Managed reference class to IntImmNode.
More...
#include <expr.h>
|
| | IntImm (PrimType value_ty, int64_t value, Span span=Span()) |
| | Constructor. More...
|
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (IntImm, PrimExpr, IntImmNode) |
| |
| | TVM_DEFINE_OBJECT_REF_COW_METHOD (IntImmNode) |
| |
| | PrimExpr (Call call) |
| | Construct from a call after checking that its result type is PrimType. More...
|
| |
| | PrimExpr (int32_t value) |
| | construct from integer. More...
|
| |
| | PrimExpr (float value) |
| | construct from float. More...
|
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (PrimExpr, TypedExpr< PrimType >, ExprNode) |
| |
| PrimType | ty () const |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (TypedExpr, Expr, ExprNode) |
| |
| 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) |
| |
Managed reference class to IntImmNode.
- See also
- IntImmNode
◆ IntImm()
Constructor.
- Parameters
-
| value_ty | The primitive type of the value. |
| value | The internal value. |
| span | The location of this object in the source code. |
◆ Bool()
Construct a scalar boolean constant.
- Parameters
-
| value | The boolean value. |
| span | The location of this object in the source code. |
◆ Int32()
| static IntImm tvm::IntImm::Int32 |
( |
int64_t |
value, |
|
|
Span |
span = Span() |
|
) |
| |
|
inlinestatic |
Construct a scalar int32 constant.
- Parameters
-
| value | The integer value. |
| span | The location of this object in the source code. |
◆ Int64()
| static IntImm tvm::IntImm::Int64 |
( |
int64_t |
value, |
|
|
Span |
span = Span() |
|
) |
| |
|
inlinestatic |
Construct a scalar int64 constant.
- Parameters
-
| value | The integer value. |
| span | 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_NULLABLE()
◆ _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: