Deep.Net


CudaTensor

Namespace: Tensor

Tensor stored on CUDA device.

Functions and values

Function or valueDescription
arange
Signature: int64 -> Tensor<int64>
Dev
Signature: ITensorDevice

Tensor stored on CUDA device.

falses
Signature: int64 list -> Tensor<bool>
filled
Signature: int64 list -> 'T -> Tensor<'T>
Type parameters: 'T
identity
Signature: int64 -> Tensor<'T>
Type parameters: 'T
init
Signature: int64 list -> (int64 [] -> 'T) -> Tensor<'T>
Type parameters: 'T
linspace start stop nElems
Signature: start:^?182453 -> stop:^?182453 -> nElems:int64 -> Tensor<^?182453>
Type parameters: ^?182453, ^?182454, ^?182455, ^?182456
ones
Signature: int64 list -> Tensor<'T>
Type parameters: 'T
scalar
Signature: 'T -> Tensor<'T>
Type parameters: 'T
transfer x
Signature: x:'?182436 -> '?182436
Type parameters: '?182436
trues
Signature: int64 list -> Tensor<bool>
usingPtrAndType (...)
Signature: ptr:CUdeviceptr -> sizeInBytes:SizeT -> typ:Type -> layout:TensorLayout -> ITensor

Creates a ITensor for the given pointer, allocation size in bytes, type and layout.

zeros
Signature: int64 list -> Tensor<'T>
Type parameters: 'T
Fork me on GitHub