25 #ifndef MXNET_IR_EXPR_H_ 26 #define MXNET_IR_EXPR_H_ 93 static constexpr
const char*
_type_key =
"PrimExpr";
225 #endif // MXNET_IR_EXPR_H_ const IntImmNode * operator->() const
Get pointer to the internal value.
Definition: expr.h:172
Constant floating point literals in the program.
Definition: expr.h:183
Constant integer literals in the program.
Definition: expr.h:138
FloatImm()
Constructor.
Definition: expr.h:202
MXNetDataType dtype() const
Definition: expr.h:127
const FloatImmNode * operator->() const
Get pointer to the container.
Definition: expr.h:217
Managed reference class to FloatImmNode.
Definition: expr.h:197
namespace of mxnet
Definition: api_registry.h:33
IntImm(runtime::ObjectPtr< Object > node)
constructor from node.
Definition: expr.h:161
A custom smart pointer for Object.
Definition: object.h:345
double value
The constant value content.
Definition: expr.h:186
Managed reference class to IntImmNode.
Definition: expr.h:152
Reference to PrimExprNode.
Definition: expr.h:101
Base class of all object reference.
Definition: object.h:499
IntImm()
Constructor.
Definition: expr.h:157
PrimExpr(runtime::ObjectPtr< Object > ptr)
Cosntructor from object ptr.
Definition: expr.h:109
base class of all object containers.
Definition: object.h:149
Runtime primitive data type.
Definition: data_type.h:41
Base node of all primitive expressions.
Definition: expr.h:75
A managed object in MXNet runtime.
Base type of all the expressions.
Definition: expr.h:40
BaseExpr(runtime::ObjectPtr< Object > ptr)
Cosntructor from object ptr.
Definition: expr.h:58
MXNET_DECLARE_BASE_OBJECT_INFO(BaseExprNode, Object)
static constexpr const char * _type_key
Definition: expr.h:42
#define MXNET_DLL
MXNET_DLL prefix for windows.
Definition: c_api.h:53
PrimExpr()
Cosntructor.
Definition: expr.h:104
int64_t value
the Internal value.
Definition: expr.h:141
BaseExpr()
Cosntructor.
Definition: expr.h:53
FloatImm(runtime::ObjectPtr< Object > node)
constructor from node.
Definition: expr.h:206
MXNetDataType dtype
The runtime data type of the primitive expression.
Definition: expr.h:91
Managed reference to BaseExprNode.
Definition: expr.h:50
#define MXNET_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:669