Go to the documentation of this file.
24 #ifndef MXNET_RUNTIME_NDARRAY_HANDLE_H_
25 #define MXNET_RUNTIME_NDARRAY_HANDLE_H_
36 static constexpr
const char*
_type_key =
"MXNet.NDArrayHandle";
45 data_ = std::move(node);
55 #endif // MXNET_RUNTIME_NDARRAY_HANDLE_H_
namespace of mxnet
Definition: api_registry.h:33
base class of all object containers.
Definition: object.h:151
A custom smart pointer for Object.
Definition: object.h:346
#define MXNET_DECLARE_FINAL_OBJECT_INFO(TypeName, ParentType)
helper macro to declare type information in a final class.
Definition: object.h:668
NDArrayHandle(NDArray *value)
Definition: ndarray_handle.h:42
static constexpr const char * _type_key
Definition: ndarray_handle.h:36
Definition: ndarray_handle.h:31
ndarray interface
Definition: ndarray.h:82
NDArray value
the Internal value.
Definition: ndarray_handle.h:34
ObjectPtr< Object > data_
Internal pointer that backs the reference.
Definition: object.h:575
Definition: ndarray_handle.h:40
NDArray * getArray() const
Definition: ndarray_handle.h:47
Base class of all object reference.
Definition: object.h:500
#define MXNET_DEFINE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:689
NDArray interface that handles array arithematics.
A managed object in MXNet runtime.