init(gpuDevices:)
Creates a device using the GPUs you specify.
Declaration
convenience init?(gpuDevices gpus: [any MTLDevice])Parameters
- gpus:
An array that contains specific Metal devices you’ll use to execute neural networks.
Creates a device using the GPUs you specify.
convenience init?(gpuDevices gpus: [any MTLDevice])An array that contains specific Metal devices you’ll use to execute neural networks.