Create an array with specified strides and offset. More...
AFAPI array createStridedArray (const void *data, const dim_t offset, const dim4 dims, const dim4 strides, const af::dtype ty, const af::source location) AFAPI af_err af_create_strided_array (af_array *arr, const void *data, const dim_t offset, const unsigned ndims, const dim_t *const dims, const dim_t *const strides, const af_dtype ty, const af_source location)Create an array with specified strides and offset.
◆ af_create_strided_array()data
. [in] location specifies if the data is on host or the device.
location
is afHost
, a memory copy is performed.
data
. [in] location specifies if the data is on host or the device.
location
is afHost
, a memory copy is performed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4