Method CopyFrom
member CopyFrom: Tensor<'T> -> unit
Fills this tensor with a copy of the specified tensor.
Declaration
member CopyFrom: src:Tensor<'T> -> unit
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | src | The tensor to copy from. |
Remarks
The source tensor must have the same shape and be stored on the same device as this tensor.