Method Fill
val Fill: Tensor<'T> -> unit -> 'T -> unit
Fills the tensor with the values returned by the function using multiple threads.
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 |