Method Copy
Copy<T>(T)
Creates a copy of a given input tensor with the same shape and values.
Declaration
public T Copy<T>(T X) where T : Tensor
Parameters
| Type | Name | Description |
|---|---|---|
| T | X | The input tensor. |
Returns
| Type | Description |
|---|---|
| T | The computed output tensor. |
Type Parameters
| Name | Description |
|---|---|
| T | The tensor type of the input and output tensors. |