MLModelData
class is a self-contained archive containing an MLModel
along with supplemental data that is useful to make predictions with the model.MLModel
is created from model data. The model can then be used with a predictor to make predictions.Dispose
the model when you are done with it. Failing to do so will result in severe resource leaks.null
.MLModelData
includes a Normalization
struct:Normalization
struct can be easily deconstructed like so:aspectMode
can be passed directly to an MLImageFeature
.MLModelData
provides an audio format struct:AudioFormat
struct can be easily deconstructed like so: