Method Pin
Pin(Tensor, bool)
Moves the tensor into memory on the CPU backend device.
Declaration
public static ArrayTensorData Pin(Tensor X, bool clearOnInit = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor | X | The |
| bool | clearOnInit | Whether to initialize the backend data. The default value is |
Returns
| Type | Description |
|---|---|
| ArrayTensorData | The pinned |