|
inline |
Creates an uninitialised dense tensor of the specified dimensions on the specified device or the first available if device_hint is -1
.
dims_ | dimensions of each index. |
device_hint | if not -1, device on which we should allocate the tensor. |
References syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::data, and syten::CudaDenseTensorImpl::CudaDenseTensor< rank, Scalar >::dims.