Changelog
Tracking Changes
1.1.8
- Fixed - GraphFormaterror when creating models.
- Fixed build errors when building for WebGL. 
- NatML now requires Unity 2022.3+. 
1.1.7
- Fixed - JsonExceptionwhen creating some models (#58).
- Fixed crash when building on Unity Cloud Build with macOS worker (#56). 
1.1.6
- Fixed - DllNotFoundExceptionwhen building on Linux (#54).
- Fixed - Illegal byte sequence encountered in the inputerror when building on macOS and Windows (#55).
- Refactored - PredictionSessionclass to- EndpointPrediction.
- Refactored - NatML.PredictionSessionsfield to- EndpointPredictions.
- Removed - MLAudioFeature.FromStreamingAssetsmethod. Use- MLUnityExtensions.StreamingAssetsToAbsolutePathto get a path and create an audio feature.
- Deprecated - PredictorSessionclass.
- Deprecated - NatML.PredictorSessionsfield.
1.1.5
- Added support for Safari 16.4, bringing NatML to 88% of browsers. 
- Added - MLArrayFeature.CopyTomethod overload that accepts a- Texture2D.
- Added - MLEdgeModel.Createmethod overload that accepts a- NatMLClientinstance in place of an- accessKey.
- Added - MLCloudModel.Createmethod overload that accepts a- NatMLClientinstance in place of an- accessKey.
- Added - Feature.dictValuefield for working with dictionary features.
- Refactored - Dtype.Listenumeration member to- Dtype.List.
- Refactored - Dtype.Dictionaryenumeration member to- Dtype.Dict.
- Removed - MLCloudModel.Predictmethod overload that accepts a- Dictionary<string, MLFeature>.
- Removed - MLImageFeature.RegionOfInterestmethod.
1.1.4
- Added - NatML.APInamespace for accessing the full NatML web API from .NET.
- Fixed - MLEdgeModel.Createmethod blocking for a long time on Android and Windows (#49).
- Fixed - MLEdgeModel.Createmethod throwing error when called from non-Unity threads.
- Updated default edge prediction configuration to use the CPU and neural processor (and not the GPU) on Android (#49). 
- Refactored - MLDepthFeature.ViewportToWorldPointmethod to- Unproject.
- Removed - MLEdgeModel.AudioFormatstruct. Use- NatML.API.Types.AudioFormatclass instead.
- Removed - MLEdgeModel.Normalizationstruct. Use- NatML.API.Types.Normalizationclass instead.
- Removed - MLImageFeature.AspectModeenumeration. Use- NatML.API.Types.AspectModeenumeration instead.
- Removed - MLAudioType.FromAudioCliputility method.
- Removed - MLAudioType.FromVideoCliputility method.
- Removed - MLVideoType.FromVideoCliputility method.
1.1.3
- Added support for making edge predictions on the GPU on Android with - MLEdgeModel.ComputeTarget.GPU.
- Fixed - MLEdgeModel.Predictsporadically crashing on Android.
1.1.2
- Added support for CoreML models that consume pixel buffers ( - CVPixelBufferRef) instead of multi-arrays.
- Fixed - MLEdgeModel.Createignoring- configurationargument when model is fetched from NatML Hub.
- Fixed - MLAsyncPredictoraccumulating massive amounts of memory on iOS and macOS.
- Refactored - MLTextFeatureclass to- MLStringFeature.
- Refactored - MLTextTypeclass to- MLStringType.
- Refactored - MLModelDataEmbedattribute to- MLEdgeModel.Embed.
1.1.1
- Added model embedding support for encrypted models. 
1.1.0
- Added - MLCloudModelclass for making predictions with predictor endpoints.
- Added - MLEdgeModel.Createmethods for creating an edge model from a predictor tag or an- MLModelDatainstance.
- Added - MLEdgeModel.ComputeTargetenumeration for specifying the compute target for model predictions.
- Added - MLEdgeModel.Configurationdata class for configuring the edge model creation process.
- Added - MLEdgeModel.labelsproperty for inspecting classification labels required by the model.
- Added - MLEdgeModel.aspectModeproperty for inspecting the aspect mode required in image data consumed by the model.
- Added - MLEdgeModel.audioFormatproperty for inspecting the audio format required in audio data consumed by the model.
- Added support for model encryption, protecting your valuable intellectual property. 
- Added support for pinning - MLArrayFeatureinstances with- fixedstatements.
- Added support for pinning - MLImageFeatureinstances with- fixedstatements.
- Added - MLArrayFeatureconstructor from an- MLCloudFeaturefor making predictions with predictor endpoints.
- Added - MLImageFeatureconstructor from an- MLCloudFeaturefor making predictions with predictor endpoints.
- Added - MLTextFeatureconstructor from an- MLCloudFeaturefor making predictions with predictor endpoints.
- Added - MLArrayFeature.CopyTo(MLArrayFeature)method for copying image data from one image feature to another.
- Added - MLImageFeature.CopyTo(MLImageFeature)method for copying image data from one image feature to another.
- Added implicit conversion from - floatto- MLFeature.
- Added implicit conversion from - intto- MLFeature.
- Added implicit conversion from - boolto- MLFeature.
- Added implicit conversion from - int[]to- MLFeature.
- Updated - MLImageFeatureclass to be- sealedthus preventing inheritance.
- Updated - float[]implicit conversion to- MLArrayFeatureto have a 1D shape instead of a- nullshape.
- Refactored - MLModelData.ComputeTargetenumeration to- MLEdgeModel.ComputeTarget.
- Refactored - MLModelData.Normalizationenumeration to- MLEdgeModel.Normalization.
- Refactored - MLModelData.AudioFormatenumeration to- MLEdgeModel.AudioFormat.
- Deprecated - MLImageFeature.RegionOfInterestmethod. Use- MLImageFeature.CopyTomethod instead.
- Deprecated - MLModelData.ComputeTarget.CPUOnlyenumeration member. Use- ComputeTarget.CPUinstead.
- Removed - MLEdgeModelconstructor. Use- MLEdgeModel.Createmethod instead.
- Removed - MLModelData.Deserializemethod. Use- MLEdgeModel.Createmethod instead.
- Removed - MLModelData.FromHubmethod. Use- MLEdgeModel.Createmethod instead.
- Removed - MLModelData.FromFilemethod. Use- MLEdgeModel.Createmethod instead.
- Removed - MLModelData.tagproperty.
- Removed - MLModelData.computeTargetproperty. Use- MLEdgeModel.Configuration.computeTargetproperty instead.
- Removed - MLModelData.computeDeviceproperty. Use- MLEdgeModel.Configuration.computeDeviceproperty instead.
- Removed - MLModelData.labelsproperty. Use- MLEdgeModel.labelsproperty instead.
- Removed - MLModelData.normalizationproperty. Use- MLEdgeModel.normalizationproperty instead.
- Removed - MLModelData.audioFormatproperty. Use- MLEdgeModel.audioFormatproperty instead.
- Removed - MLModelData.ComputeTargetenumeration.
- Removed - MLArrayFeature.CopyTo(T[])method overload.
- Removed - MLArrayFeature.CopyTo(NativeArray<T>)method overload.
- Removed - MLArrayFeature.CopyTo(T*)method overload.
- Removed - MLImageFeature.CopyTo(T[])method overload.
- Removed - MLImageFeature.CopyTo(NativeArray<T>)method overload.
- Removed - MLImageFeature.CopyTo(T*)method overload.
- NatML now requires iOS 14+. 
1.0.19
- Added - MLEdgeModelpublic constructor and moved the class to the top-level- NatMLnamespace.
- Fixed app storage size increasing every time that - MLModelData.Deserializewas invoked on iOS.
- Deprecated - MLModelData.Deserializemethod. Use- MLEdgeModelconstructor instead.
1.0.18
- NatML now defaults to accelerating predictions on Windows by using the GPU. This results in much better performance and lower CPU usage for many models. 
- Added - MLModelData.computeTargetproperty for specifying the compute target used for prediction.
- Added - MLModelData.computeDeviceproperty for specifying the compute device used for prediction.
- Added - MLImageFeature.CopyTooverloads that accepted pixel buffers in managed and unmanaged memory.
- Fixed - MLImageFeatureproducing incorrect prediction results on WebGL.
- Fixed rare crash when calling - MLModelData.Deserializeon low-end Android devices.
1.0.17
- Upgraded to Hub 1.0.12. 
1.0.16
- Refactored - MLDepthFeature.TransformPointmethod to- ViewportToWorldPoint.
- Removed - MLImageFeature.CopyTooverloads that accepted pixel buffers. Use- Texture2Doverload instead.
- Removed - MLImageFeature.ToTexturemethod. Use- MLImageFeature.CopyTomethod instead.
1.0.15
- Added initial support for WebGL! NatML can now be used in the browser. 
- Improved - MLImageFeaturetexture constructor to avoid copying pixel buffers when possible.
- Improved performance of - MLImageFeature.NonMaxSuppressionfor large number of candidate boxes.
- Changed - MLEdgeFeature.dataTypeproperty type from- System.Typeto- NatML.DataType.
1.0.13
- Added support for rotated ROI in - MLImageFeature.RegionOfInterestmethod.
- Added - MLModelData.FromFilemethod to load ML model data from model files.
- Added - MLImageFeature.TransformPointmethod for transforming detection points from feature space to image space.
- Added - MLDepthFeature.TransformPointmethod for projecting 2D points into 3D space using depth.
- Added - MLEdgeFeature.dataTypeproperty for inspecting the data type of Edge features.
- Added - MLAsyncPredictorclass for making predictions on a background thread.
- Added - MLPredictorExtensions.ToAsyncextension method for converting predictor to an async predictor.
- Improved prediction performance on Android devices with dedicated neural processing units. 
- Changed - MLEdgeFeatureclass to- readonly structto prevent GC pressure.
- Fixed - MLImageFeaturenot respecting- AspectMode.AspectFitwhen making predictions.
- Fixed sporadic - NullReferenceExceptionwhen- MLModelData.FromHubis called on some Android devices.
- Updated - MLDepthFeature.Samplemethod to accept a- Vector2point instead of individual coordinates.
- Removed - IMLCloudFeatureinterface as it is no longer supported by the NatML Hub API.
- Removed - MLCloudFeatureclass as it is no longer supported by the NatML Hub API.
- Removed - MLCloudModelclass as it is no longer supported by the NatML Hub API.
- Removed - IMLAsyncPredictorinterface.
- Removed - MLFeature.CloudTypeutility method as it is no longer supported by the NatML Hub API.
- Removed - MLArrayFeatureconstructor that accepted an- MLCloudFeature.
- Removed - MLAudioFeatureconstructor that accepted an- MLCloudFeature.
- Removed - MLImageFeatureconstructor that accepted an- MLCloudFeature.
- Removed - MLImageFeatureconstructor that accepted an encoded image- byte[].
- Removed - MLImageFeature.Contiguousmethod.
- Removed - MLTextFeatureconstructor that accepted an- MLCloudFeature.
- Removed - MLEdgeFeature.ReleaseFeaturemethod as it has long been deprecated.
1.0.12
- Upgraded to Hub 1.0.8. 
1.0.11
- Added - MLModelDataEmbedattribute for embedding model data at build time, making models immediately available in builds without downloads.
- Added - MLImageFeature.NonMaxSuppressionmethod for performing non-maximum suppression on detection proposals.
- Added - MLImageFeature.TransformRectmethod for transforming detection rectangles from feature space to image space.
- Added custom icon for identifying ML model files imported by NatML. 
- Migrated - MLPredictorExtensions.ToAsyncextension method and- MLAsyncPredictorclass to NatMLX.
- Removed - MLPredictorExtensions.RectifyAspectmethod. Use- MLImageFeature.TransformRectmethod instead.
- Removed - MLPredictorExtensions.NonMaxSuppressionmethod. Use- MLImageFeature.NonMaxSuppressionmethod instead.
- Refactored top-level namespace from - NatSuite.MLto- NatMLfor parity with our other API's.
1.0.10
- Improved prediction performance on Windows systems with dedicated GPU's. 
- Added - MLArrayFeatureconstructors that accept- NativeArray<T>native arrays to minimize memory copies.
- Added setter accessors to - MLArrayFeatureindexers allowing for writing values to feature data.
- Added - MLAudioFeature.Contiguousmethod for decoding encoded audio feature into memory.
- Added support for creating greyscale image - MLEdgeFeaturefeatures from- MLImageFeaturefeatures.
- Added - MLImageFeature.RegionOfInterestmethod for extracting an ROI from an image.
- Added - MLImageFeature.Contiguousmethod for decoding encoded image feature into memory.
- Added - MLDepthFeature.widthconvenience property for getting width of depth features.
- Added - MLDepthFeature.heightconvenience property for getting height of depth features.
- Added - MLImageType.interleavedproperty for checking whether image feature is interleaved or planar.
- Added - IMLCloudFeatureinterface to create cloud ML features for making cloud predictions.
- Added "Clear Predictor Cache" menu item for clearing predictor cache in the editor. 
- Added - NatMLHub.Subscribemethod for making subscription requests to the NatML API.
- Fixed memory leak when using certain vision predictors like Robust Video Matting. 
- Refactored - MLHubModelclass to- MLCloudModel.
- Refactored - MLHubFeatureclass to- MLCloudFeature.
- Refactored - HubDataTypeclass to- DataType.
- Deprecated - IMLHubFeatureinterface.
- Removed - MLAudioFeature.ReadToEndmethod. Use- MLAudioFeature.Contiguousmethod instead.
1.0.9
- Added exclusive support for running CoreML graphs on iOS and macOS. 
- Added exclusive support for running TensorFlow Lite graphs on Android. 
- Added support for working with CoreML - .mlmodelfiles in Unity projects.
- Added support for working with TensorFlow Lite - .tflitefiles in Unity projects.
- Added support for Apple Silicon on macOS. 
- Added - MLVideoFeatureclass for making ML predictions on video files.
- Added - MLVideoTypefeature type for inspecting video features.
- Added - MLDepthFeatureabstract class for working with predictors that use depth data.
- Added support for audio feature resampling in - MLAudioFeaturewith- sampleRateand- channelCountfields.
- Added - MLEdgeFeaturetype for added type safety when authoring edge predictors.
- Added - MLImageFeatureconstructor which accepts a- NativeArray<byte>pixel buffer.
- Added - MLImageFeature.widthconvenience property for getting width of image feature.
- Added - MLImageFeature.heightconvenience property for getting height of image feature.
- Added - MLImageFeature.CopyTomethods for copying pixel data from image feature.
- Added - MLAudioFeatureconstructor that accepts a- NativeArray<float>to minimize memory copies.
- Added - MLAudioFeaturepath constructor for reading audio features from audio and video files.
- Added - MLAudioFeature.CopyTomethods for copying audio data from audio feature.
- Added - MLAudioFeature.FromStreamingAssetsmethod for creating an audio feature from an audio file in the- StreamingAssetsfolder.
- Added - MLAudioFeature.ToAudioClipmethod for converting audio feature to an- AudioClip.
- Added - MLAudioFeature.ReadToEndmethod to read audio data into memory for audio features backed by an audio file.
- Added - MLAudioType.FromFilemethod for inspecting the audio type of a video or audio file.
- Added - MLAudioType.FromAudioClipmethod for inspecting the audio type of an audio clip.
- Added - MLAudioType.FromVideoClipmethod for inspecting the audio type of a video clip.
- Added - MLAudioType.FromStreamingAssetsmethod for inspecting the audio type of a video file in the- StreamingAssetsfolder.
- Added - MLImageTypeconstructor that accepts image- channels.
- Fixed - MLImageFeaturetype incorrectly reporting 3 channels instead of 4.
- Fixed - MLImageFeaturedefault normalization standard deviation having- 0for alpha channel.
- Removed - IMLModelinterface as it has long been deprecated.
- Removed - IMLFeatureinterface as it has long been deprecated.
1.0.8
- Fixed - Cannot deserialize graphexception when deserializing cached predictors.
- Fixed - MLModelDatabeing cached for- DRAFTpredictors.
1.0.7
- Added - MLArrayFeatureconstructor that accepts an- MLHubFeaturefor working with Hub predictors.
- Added - MLAudioFeatureconstructor that accepts an- MLHubFeaturefor working with Hub predictors.
- Added - MLImageFeatureconstructor that accepts an- MLHubFeaturefor working with Hub predictors.
- Added - MLTextFeatureconstructor that accepts an- MLHubFeaturefor working with Hub predictors.
- Fixed - DirectoryNotFoundExceptionwhen loading cached- MLModelDataon iOS.
- Removed prediction analytics reporting to NatML Hub, relieving network bandwidth pressure. 
- Removed - cacheflag in- MLModelData.FromHubmethod.
1.0.6
- Introduced Hub Predictors, which make predictions using server-side processing on NatML Hub. 
- Added - MLHubModelclass for authoring predictors that make cloud-based predictions using NatML Hub.
- Added - MLEdgeModelclass for authoring predictors that make edge (on-device) predictions.
- Added - IMLHubFeatureinterface for creating server-side features when making predictions with NatML Hub.
- Added - IMLEdgeFeatureinterface for creating native features when making edge (on-device) predictions.
- Added - MLTextTypefeature type for inspecting- MLTextFeatureinstances.
- Added - MLModelData.tagproperty to identify the predictor tag from NatML Hub.
- Added - MLModel.metadatadictionary for inspecting model metadata.
- Added - MLArrayFeature.Squeezeto remove singleton dimensions from an array feature.
- Added - MLArrayFeature.Flattento flatten an array feature into one-dimensional array feature.
- Added - MLArrayFeature.ToArrayto convert an array feature into a flattened primitive array.
- Added - MLImageFeature.ToTextureto convert an image feature into a- Texture2D.
- Added - MLImageType.FromTypestatic method for converting arbitrary feature types to image types.
- Added implicit conversion from - MLFeatureTypeto- boolindicating if the type is non-- null.
- Added implicit conversion from - MLTextFeatureto- string.
- Fixed - MLImageTypeimage resolution constructor assuming planar format instead of interleaved format.
- Moved - IMLPredictorinterface to the top-level- NatSuite.MLnamespace.
- Moved - IMLAsyncPredictorinterface to the top-level- NatSuite.MLnamespace.
- Deprecated - IMLModelinterface. Cast model to- MLEdgeModelclass instead.
- Deprecated - IMLFeatureinterface. Cast feature to- IMLEdgeFeatureinterface instead.
- Deprecated - MLPredictorExtensions.GetImageSizestatic method. Use- MLImageType.FromTypeinstead.
- Removed - MLModelData.FromFilemethod. Use NatML Hub instead.
- Removed - MLModelData.FromStreamingAssetsmethod. Use NatML Hub instead.
- Removed - MLPredictorExtensions.SerializeAudiomethod.
- Removed - MLPredictorExtensions.SerializeImagemethod.
- Removed - MLModeldictionary indexers. Use- MLModel.metadataproperty instead.
1.0.5
- Changed - MLImageFeature.meanand- stdtypes to- Vector4to support normalization for alpha channel.
- Fixed bitcode not being generated for iOS - NatML.framework.
- Removed metadata accessors from - IMLModelinterface. Cast to- MLModelinstead.
1.0.4
- Added - IMLAsyncPredictorinterface for making server-side ML predictions with NatML Hub.
- Added - MLArrayFeature<T>constructor which accepts a native array feature for easy interop.
- Added multi-indexing support to - MLArrayFeature<T>for post-processing native array features.
- Added - MLArrayType.elementCountproperty to get the total number of elements for an array type.
- Added - MLArrayFeature<T>.shapeproperty which returns the feature type's shape for convenience.
- Added - MLArrayFeature<T>.elementCountproperty which returns the feature type's element count for convenience.
- Added - MLArrayFeature<T>.CopyTomethod to copy feature data into an array.
- Added - MLArrayFeature<T>.Permutemethod to create a shallow array view with permuted dimensions.
- Added - MLArrayFeature<T>.Viewmethod to create a shallow array view with a different shape.
- Added - MLPredictorExtensions.NonMaxSuppressionmethod for working with detection models.
- Added - MLPredictorExtensions.GetImageSizemethod for making predictions with image features.
- Added - MLPredictorExtensions.SerializeAudiomethod for making Hub predictions with audio features.
- Added - MLPredictorExtensions.SerializeImagemethod for making Hub predictions with image features.
- Fixed - MLAsyncPredictorpredictions never completing if backing predictor encountered exception.
1.0.3
- Greatly improved performance and memory pressure when performing multi-indexing with - MLArrayFeature<T>.
- Added - MLPredictorExtensions.RectifyAspectextension method for correcting detection rects from aspect-scaled images.
- Fixed crash when making predictions with recurrent models on previous state features. 
- Fixed crash when getting native array feature shape for - MLArrayFeature<T>.
- Fixed memory leak when making predictions with image features on iOS and macOS. 
1.0.2
- Added - MLModelData.audioFormatproperty for working with audio and speech ML models.
- Added - MLTextFeaturefor working with natural language processing models.
- Exposed - meanand- stdarrays in- MLModelData.Normalizationstruct for models that require arbitrary normalization.
- Removed generic - MLClassificationPredictorand- MLDenseClassificationPredictorpredictors.
- Removed ability to specify class labels for local - .onnxfile in project. Use NatML Hub instead.
1.0.0
- First release. 
Last updated
Was this helpful?
