Method Gpu
Gpu(string, int)
Creates a tensor override that places matching tensors on a specific GPU.
public static LM.TensorOverride Gpu(string pattern, int gpuIndex = 0)
Parameters
Returns
- LM.TensorOverride
A new LM.TensorOverride targeting the specified GPU.