Method Fill
val Fill: Tensor<'T> -> unit -> 'T -> unit
Fills the tensor with the values returned by the function.
Declaration
val Fill: trgt:Tensor<'T> -> fn:unit -> 'T -> unit
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | trgt | The target tensor to fill. |
unit -> 'T | fn | A function that returns the values to fill the tensor with. |
Type Parameters
Name | Description |
---|---|
'T |
See Also
HostTensor.Parallel.Fill``1