MLArrayFeature
constructors that accept NativeArray<T>
native arrays to minimize memory copies.MLAudioFeature.Contiguous
method for decoding encoded audio feature into memory.MLImageFeature.Contiguous
method for decoding encoded image feature into memory.NatMLHub.Subscribe
method for making subscription requests to the NatML API.HubDataType
class to DataType
.IMLHubFeature
interface.MLAudioFeature.ReadToEnd
method. Use MLAudioFeature.Contiguous
method instead..mlmodel
files in Unity projects..tflite
files in Unity projects.MLAudioFeature
with sampleRate
and channelCount
fields.MLAudioFeature
path constructor for reading audio features from audio and video files.MLAudioFeature.CopyTo
methods for copying audio data from audio feature.MLAudioFeature.FromStreamingAssets
method for creating an audio feature from an audio file in the StreamingAssets
folder.MLAudioFeature.ToAudioClip
method for converting audio feature to an AudioClip
.MLAudioFeature.ReadToEnd
method to read audio data into memory for audio features backed by an audio file.MLAudioType.FromStreamingAssets
method for inspecting the audio type of a video file in the StreamingAssets
folder.IMLModel
interface as it has long been deprecated.IMLFeature
interface as it has long been deprecated.Cannot deserialize graph
exception when deserializing cached predictors.IMLHubFeature
interface for creating server-side features when making predictions with NatML Hub.IMLEdgeFeature
interface for creating native features when making edge (on-device) predictions.MLArrayFeature.Squeeze
to remove singleton dimensions from an array feature.MLArrayFeature.Flatten
to flatten an array feature into one-dimensional array feature.MLImageType
image resolution constructor assuming planar format instead of interleaved format.MLPredictorExtensions.SerializeAudio
method.MLPredictorExtensions.SerializeImage
method.NatML.framework
.MLArrayFeature<T>.elementCount
property which returns the feature type's element count for convenience.MLArrayFeature<T>.Permute
method to create a shallow array view with permuted dimensions.MLArrayFeature<T>.View
method to create a shallow array view with a different shape.MLPredictorExtensions.GetImageSize
method for making predictions with image features.MLPredictorExtensions.SerializeAudio
method for making Hub predictions with audio features.MLPredictorExtensions.SerializeImage
method for making Hub predictions with image features.MLArrayFeature<T>
.MLPredictorExtensions.RectifyAspect
extension method for correcting detection rects from aspect-scaled images.MLModelData.audioFormat
property for working with audio and speech ML models.mean
and std
arrays in MLModelData.Normalization
struct for models that require arbitrary normalization.MLClassificationPredictor
and MLDenseClassificationPredictor
predictors..onnx
file in project. Use NatML Hub instead.MLARImageFeature.mean
and std
types to Vector4
to support normalization for alpha channel.NatMLX.framework
.