Class MLModelData
Represents the data of a machine learning model, including its file name and binary data. This record is sealed to prevent inheritance.
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.MLSearch
Assembly: EyeAuras.OpenCVAuras.Metadata.dll
Syntax
public sealed record MLModelData : IEquatable<MLModelData>
Constructors
| Name | Description |
|---|---|
| MLModelData() |
Properties
| Name | Description |
|---|---|
| Data | Gets the binary data of the machine learning model. |
| FileName | Gets the file name of the machine learning model. |
Methods
| Name | Description |
|---|---|
| Equals(MLModelData?) | |
| Equals(object?) | |
| FromFile(FileInfo) | Creates an instance of MLModelData from a given file synchronously. |
| FromFileAsync(FileInfo, CancellationToken) | Asynchronously creates an instance of MLModelData from a given file. |
| GetHashCode() | |
| ToString() | |
| <Clone>$() |
Operators
| Name | Description |
|---|---|
| operator ==(MLModelData?, MLModelData?) | |
| operator !=(MLModelData?, MLModelData?) |