I am making a image classification iOS app with Swift.
When I write
guard let model = try? VNCoreMLModel(for: SqueezeNet().model) else { return }
I got this warning.
'init()' is deprecated: Use init(configuration:) instead and handle errors appropriately.
Do you know how to get rid of it?