Method FillMap
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.
Declaration
val FillMap: trgt:Tensor<'T> -> fn:'TA -> 'T -> a:Tensor<'TA> -> unit
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | trgt | The output tensor to fill. |
'TA -> 'T | fn | A function that takes a value from the input tensor and returns the corresponding output value. |
Tensor<'TA> | a | The input tensor. |
Type Parameters
Name | Description |
---|---|
'T | The type of the data. |
'TA |
See Also
HostTensor.Parallel.FillMap``2