Contents

deviceArchitectureName

The Core AI architecture name of the current device.

Declaration

static var deviceArchitectureName: String { get }

Mentioned in

Discussion

When compiling model assets ahead of time with xcrun coreai-build compile, the toolchain produces artifacts for specific device architectures. Use this property to discover which compiled asset matches the current device.