Created
May 26, 2021 05:48
-
-
Save iosdevie/b1ef62e47d782c4edf981076bfa0e771 to your computer and use it in GitHub Desktop.
retrieve the image constraint object from the CoreML model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let imageConstraint = model?.modelDescription.inputDescriptionsByName["image"]!.imageConstraint! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment