Class HostTensor.Parallel (mod)
Multi-threaded operations for tensors stored on the host device.
Inheritance
Namespace: Tensor
Assembly: Tensor.dll
Syntax
module HostTensor.Parallel
Methods
Name | Description |
---|---|
val Fill: Tensor<'T> -> unit -> 'T -> unit | Fills the tensor with the values returned by the function using multiple threads. |
val FillFoldAxis: Tensor<'T> -> 'T -> 'TA -> 'T -> Tensor<'T> -> int -> Tensor<'TA> -> unit | Applies to specified function to all elements of the tensor, threading an accumulator through the computation using multiple threads. |
val FillIndexed: Tensor<'T> -> int64 [] -> 'T -> unit | Fills the tensor with values returned by the specifed function using multiple threads. |
val FillMap: Tensor<'T> -> 'TA -> 'T -> Tensor<'TA> -> unit | Applies to specified function to all elements of the tensor using the specified tensor as target using multiple threads. |
val FillMap2: Tensor<'T> -> 'TA -> 'TB -> 'T -> Tensor<'TA> -> Tensor<'TB> -> unit | Applies to specified function to all elements of the two tensors using the specified tensor as target using multiple threads. |
val FillMapIndexed: Tensor<'T> -> int64 [] -> 'TA -> 'T -> Tensor<'TA> -> unit | Applies to specified indexed function to all elements of the tensor using the specified tensor as target using multiple threads. |
val FillMapIndexed2: Tensor<'T> -> int64 [] -> 'TA -> 'TB -> 'T -> Tensor<'TA> -> Tensor<'TB> -> unit | Applies to specified indexed function to all elements of the two tensors using the specified tensor as target using multiple threads. |
val foldAxis: 'T -> 'TA -> 'T -> 'T -> int -> Tensor<'TA> -> Tensor<'T> | Applies to specified function to all elements of the tensor, threading an accumulator through the computation using multiple threads. |
val init: int64 list -> int64 [] -> 'T -> Tensor<'T> | Creates a new tensor with values returned by the specified function using multiple threads. |
val map: 'T -> 'R -> Tensor<'T> -> Tensor<'R> | Applies to specified function to all elements of the tensor using multiple threads. |
val map2: 'TA -> 'TB -> 'R -> Tensor<'TA> -> Tensor<'TB> -> Tensor<'R> | Applies to specified function to all elements of the two tensors using multiple threads. |
val mapi: int64 [] -> 'T -> 'R -> Tensor<'T> -> Tensor<'R> | Applies to specified indexed function to all elements of the tensor using multiple threads. |
val mapi2: int64 [] -> 'TA -> 'TB -> 'R -> Tensor<'TA> -> Tensor<'TB> -> Tensor<'R> | Applies to specified indexed function to all elements of the two tensors using multiple threads. |