Constructor ( .ctor )
new: CudaDeviceVariable<'T> -> TensorCudaStorage<'T>
Implicit constructor.
Declaration
new: data:CudaDeviceVariable<'T> -> TensorCudaStorage<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| ManagedCuda.CudaDeviceVariable<'T> | data |
Returns
| Type | Description |
|---|---|
| TensorCudaStorage<'T> |
new: int64 -> TensorCudaStorage<'T>
Declaration
new: nElems:int64 -> TensorCudaStorage<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| int64 | nElems |
Returns
| Type | Description |
|---|---|
| TensorCudaStorage<'T> |