compileModel(at:completionHandler:)
Compile a model for a device.
Declaration
class func compileModel(at url: URL, completionHandler handler: @escaping (Result<URL, any Error>) -> Void)Parameters
- url:
The URL to the model file.
- handler:
The completion handler the framework calls when the compilation completes.