mxnet
Public Types | Public Member Functions | List of all members
mxnet::IntImm Class Reference

Managed reference class to IntImmNode. More...

#include <expr.h>

Inheritance diagram for mxnet::IntImm:
Inheritance graph
Collaboration diagram for mxnet::IntImm:
Collaboration graph

Public Types

using ContainerType = IntImmNode
 type indicate the container type More...
 
- Public Types inherited from mxnet::PrimExpr
using ContainerType = PrimExprNode
 The container type. More...
 
- Public Types inherited from mxnet::BaseExpr
using ContainerType = BaseExprNode
 The container type. More...
 

Public Member Functions

 IntImm ()
 Constructor. More...
 
 IntImm (runtime::ObjectPtr< Object > node)
 constructor from node. More...
 
MXNET_DLL IntImm (MXNetDataType dtype, int64_t value)
 Constructor. More...
 
const IntImmNodeoperator-> () const
 Get pointer to the internal value. More...
 
- Public Member Functions inherited from mxnet::PrimExpr
 PrimExpr ()
 Cosntructor. More...
 
 PrimExpr (runtime::ObjectPtr< Object > ptr)
 Cosntructor from object ptr. More...
 
MXNET_DLL PrimExpr (int32_t value)
 construct from integer. More...
 
MXNET_DLL PrimExpr (float value)
 construct from float. More...
 
MXNET_DLL PrimExpr (std::string str)
 construct from string. More...
 
MXNetDataType dtype () const
 
- Public Member Functions inherited from mxnet::BaseExpr
 BaseExpr ()
 Cosntructor. More...
 
 BaseExpr (runtime::ObjectPtr< Object > ptr)
 Cosntructor from object ptr. More...
 

Detailed Description

Managed reference class to IntImmNode.

See also
IntImmNode

Member Typedef Documentation

type indicate the container type

Constructor & Destructor Documentation

mxnet::IntImm::IntImm ( )
inline

Constructor.

mxnet::IntImm::IntImm ( runtime::ObjectPtr< Object >  node)
inlineexplicit

constructor from node.

MXNET_DLL mxnet::IntImm::IntImm ( MXNetDataType  dtype,
int64_t  value 
)

Constructor.

Parameters
dtypeThe data type of the value.
valueThe internal value.

Member Function Documentation

const IntImmNode* mxnet::IntImm::operator-> ( ) const
inline

Get pointer to the internal value.

Returns
the content of the integer.

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