computeDevice(for:)
Returns the compute device for a compute stage.
Declaration
@nonobjc func computeDevice(for computeStage: VNComputeStage) -> MLComputeDevice?Parameters
- computeStage:
The compute stage to inspect.
Return Value
The current compute device; otherwise, nil if one isn’t assigned.