Function: numpy_to_ptr
This API will be deprecated. Use acl.util.bytes_to_ptr instead.
C Prototype |
None |
|---|---|
Python Function |
ptr = acl.util.numpy_to_ptr(data) |
Function Usage |
Obtains the memory data pointer address of a numpy.ndarry array. |
Input Description |
data: data of the numpy.ndarray type. |
Return Value |
ptr: int, memory data pointer address of the NumPy array. |
Restrictions |
None |
Precautions |
|