Contents

cpuOnly

Options that restrict compute to the CPU only.

Declaration

static let cpuOnly: SpecializationOptions

Discussion

The resulting specialized model only uses the CPU during inference. Because all operations support the CPU, no fallback to other compute units occurs.

See Also

Using preset options