Changelog
Tracking Changes
1.1.8
Fixed
GraphFormat
error when creating models.Fixed build errors when building for WebGL.
NatML now requires Unity 2022.3+.
1.1.7
Fixed
JsonException
when creating some models (#58).Fixed crash when building on Unity Cloud Build with macOS worker (#56).
1.1.6
Fixed
DllNotFoundException
when building on Linux (#54).Fixed
Illegal byte sequence encountered in the input
error when building on macOS and Windows (#55).Refactored
PredictionSession
class toEndpointPrediction
.Refactored
NatML.PredictionSessions
field toEndpointPredictions
.Removed
MLAudioFeature.FromStreamingAssets
method. UseMLUnityExtensions.StreamingAssetsToAbsolutePath
to get a path and create an audio feature.Deprecated
PredictorSession
class.Deprecated
NatML.PredictorSessions
field.
1.1.5
Added support for Safari 16.4, bringing NatML to 88% of browsers.
Added
MLArrayFeature.CopyTo
method overload that accepts aTexture2D
.Added
MLEdgeModel.Create
method overload that accepts aNatMLClient
instance in place of anaccessKey
.Added
MLCloudModel.Create
method overload that accepts aNatMLClient
instance in place of anaccessKey
.Added
Feature.dictValue
field for working with dictionary features.Refactored
Dtype.List
enumeration member toDtype.List
.Refactored
Dtype.Dictionary
enumeration member toDtype.Dict
.Removed
MLCloudModel.Predict
method overload that accepts aDictionary<string, MLFeature>
.Removed
MLImageFeature.RegionOfInterest
method.
1.1.4
Added
NatML.API
namespace for accessing the full NatML web API from .NET.Removed
MLEdgeModel.AudioFormat
struct. UseNatML.API.Types.AudioFormat
class instead.Removed
MLEdgeModel.Normalization
struct. UseNatML.API.Types.Normalization
class instead.Removed
MLImageFeature.AspectMode
enumeration. UseNatML.API.Types.AspectMode
enumeration instead.Removed
MLAudioType.FromAudioClip
utility method.Removed
MLAudioType.FromVideoClip
utility method.Removed
MLVideoType.FromVideoClip
utility method.
1.1.3
1.1.2
Added support for CoreML models that consume pixel buffers (
CVPixelBufferRef
) instead of multi-arrays.
1.1.1
Added model embedding support for encrypted models.
1.1.0
Added support for model encryption, protecting your valuable intellectual property.
Added support for pinning
MLImageFeature
instances withfixed
statements.Added
MLImageFeature
constructor from anMLCloudFeature
for making predictions with predictor endpoints.Added
MLTextFeature
constructor from anMLCloudFeature
for making predictions with predictor endpoints.Added
MLImageFeature.CopyTo(MLImageFeature)
method for copying image data from one image feature to another.Deprecated
MLImageFeature.RegionOfInterest
method. UseMLImageFeature.CopyTo
method instead.Removed
MLModelData.tag
property.Removed
MLModelData.ComputeTarget
enumeration.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
Fixed app storage size increasing every time that
MLModelData.Deserialize
was invoked on iOS.Deprecated
MLModelData.Deserialize
method. UseMLEdgeModel
constructor 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.computeTarget
property for specifying the compute target used for prediction.Added
MLModelData.computeDevice
property for specifying the compute device used for prediction.Fixed rare crash when calling
MLModelData.Deserialize
on low-end Android devices.
1.0.17
Upgraded to Hub 1.0.12.
1.0.16
Removed
MLImageFeature.CopyTo
overloads that accepted pixel buffers. UseTexture2D
overload instead.
1.0.15
Added initial support for WebGL! NatML can now be used in the browser.
Improved
MLImageFeature
texture constructor to avoid copying pixel buffers when possible.Improved performance of
MLImageFeature.NonMaxSuppression
for large number of candidate boxes.Changed
MLEdgeFeature.dataType
property type fromSystem.Type
toNatML.DataType
.
1.0.13
Added
MLModelData.FromFile
method to load ML model data from model files.Added
MLEdgeFeature.dataType
property for inspecting the data type of Edge features.Improved prediction performance on Android devices with dedicated neural processing units.
Changed
MLEdgeFeature
class toreadonly struct
to prevent GC pressure.Fixed sporadic
NullReferenceException
whenMLModelData.FromHub
is called on some Android devices.Removed
IMLCloudFeature
interface as it is no longer supported by the NatML Hub API.Removed
MLCloudFeature
class as it is no longer supported by the NatML Hub API.Removed
MLCloudModel
class as it is no longer supported by the NatML Hub API.Removed
IMLAsyncPredictor
interface.Removed
MLFeature.CloudType
utility method as it is no longer supported by the NatML Hub API.Removed
MLArrayFeature
constructor that accepted anMLCloudFeature
.Removed
MLAudioFeature
constructor that accepted anMLCloudFeature
.Removed
MLImageFeature
constructor that accepted anMLCloudFeature
.Removed
MLImageFeature
constructor that accepted an encoded imagebyte[]
.Removed
MLImageFeature.Contiguous
method.Removed
MLTextFeature
constructor that accepted anMLCloudFeature
.Removed
MLEdgeFeature.ReleaseFeature
method as it has long been deprecated.
1.0.12
Upgraded to Hub 1.0.8.
1.0.11
Added
MLModelDataEmbed
attribute for embedding model data at build time, making models immediately available in builds without downloads.Added custom icon for identifying ML model files imported by NatML.
Removed
MLPredictorExtensions.RectifyAspect
method. UseMLImageFeature.TransformRect
method instead.Removed
MLPredictorExtensions.NonMaxSuppression
method. UseMLImageFeature.NonMaxSuppression
method instead.Refactored top-level namespace from
NatSuite.ML
toNatML
for parity with our other API's.
1.0.10
Improved prediction performance on Windows systems with dedicated GPU's.
Added
MLAudioFeature.Contiguous
method for decoding encoded audio feature into memory.Added
MLImageFeature.Contiguous
method for decoding encoded image feature into memory.Added
IMLCloudFeature
interface to create cloud ML features for making cloud predictions.Added "Clear Predictor Cache" menu item for clearing predictor cache in the editor.
Added
NatMLHub.Subscribe
method for making subscription requests to the NatML API.Fixed memory leak when using certain vision predictors like Robust Video Matting.
Refactored
MLHubModel
class toMLCloudModel
.Refactored
MLHubFeature
class toMLCloudFeature
.Refactored
HubDataType
class toDataType
.Deprecated
IMLHubFeature
interface.Removed
MLAudioFeature.ReadToEnd
method. UseMLAudioFeature.Contiguous
method 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
.mlmodel
files in Unity projects.Added support for working with TensorFlow Lite
.tflite
files in Unity projects.Added support for Apple Silicon on macOS.
Added
MLEdgeFeature
type for added type safety when authoring edge predictors.Added
MLAudioFeature
path constructor for reading audio features from audio and video files.Added
MLAudioFeature.CopyTo
methods for copying audio data from audio feature.Added
MLAudioFeature.FromStreamingAssets
method for creating an audio feature from an audio file in theStreamingAssets
folder.Added
MLAudioFeature.ToAudioClip
method for converting audio feature to anAudioClip
.Added
MLAudioFeature.ReadToEnd
method to read audio data into memory for audio features backed by an audio file.Removed
IMLModel
interface as it has long been deprecated.Removed
IMLFeature
interface as it has long been deprecated.
1.0.8
Fixed
Cannot deserialize graph
exception when deserializing cached predictors.Fixed
MLModelData
being cached forDRAFT
predictors.
1.0.7
Fixed
DirectoryNotFoundException
when loading cachedMLModelData
on iOS.Removed prediction analytics reporting to NatML Hub, relieving network bandwidth pressure.
Removed
cache
flag inMLModelData.FromHub
method.
1.0.6
Added
MLHubModel
class for authoring predictors that make cloud-based predictions using NatML Hub.Added
IMLHubFeature
interface for creating server-side features when making predictions with NatML Hub.Added
IMLEdgeFeature
interface for creating native features when making edge (on-device) predictions.Added
MLArrayFeature.Squeeze
to remove singleton dimensions from an array feature.Added
MLArrayFeature.Flatten
to flatten an array feature into one-dimensional array feature.Moved
IMLAsyncPredictor
interface to the top-levelNatSuite.ML
namespace.Deprecated
IMLFeature
interface. Cast feature toIMLEdgeFeature
interface instead.Removed
MLPredictorExtensions.SerializeAudio
method.Removed
MLPredictorExtensions.SerializeImage
method.
1.0.5
Fixed bitcode not being generated for iOS
NatML.framework
.
1.0.4
Added
IMLAsyncPredictor
interface for making server-side ML predictions with NatML Hub.Added
MLArrayFeature<T>.Permute
method to create a shallow array view with permuted dimensions.Added
MLArrayFeature<T>.View
method to create a shallow array view with a different shape.Added
MLPredictorExtensions.GetImageSize
method for making predictions with image features.Added
MLPredictorExtensions.SerializeAudio
method for making Hub predictions with audio features.Added
MLPredictorExtensions.SerializeImage
method for making Hub predictions with image features.Fixed
MLAsyncPredictor
predictions never completing if backing predictor encountered exception.
1.0.3
Fixed crash when making predictions with recurrent models on previous state features.
Fixed memory leak when making predictions with image features on iOS and macOS.
1.0.2
Added
MLModelData.audioFormat
property for working with audio and speech ML models.Exposed
mean
andstd
arrays inMLModelData.Normalization
struct for models that require arbitrary normalization.Removed generic
MLClassificationPredictor
andMLDenseClassificationPredictor
predictors.Removed ability to specify class labels for local
.onnx
file in project. Use NatML Hub instead.
1.0.0
First release.
Last updated
Was this helpful?