ModelExporterBase<T, TInput, TOutput>

Base Classes · AiDotNet.Deployment.Export

Abstract base class for model exporters that provides common functionality. Properly integrates with IFullModel architecture.

Implements: IModelExporter<T, TInput, TOutput>

Known derived types: CoreMLExporter<T, TInput, TOutput>, OnnxModelExporter<T, TInput, TOutput>, TFLiteExporter<T, TInput, TOutput>

For Beginners

for provides AI safety functionality. Default values follow the original paper settings.

Properties

Property Summary
string ExportFormat { get; }
string FileExtension { get; }

Methods

Method Summary
IReadOnlyList<string> GetValidationErrors(IFullModel<T, TInput, TOutput> model)
bool CanExport(IFullModel<T, TInput, TOutput> model)
byte[] ExportToBytes(IFullModel<T, TInput, TOutput> model, ExportConfiguration config)
void Export(IFullModel<T, TInput, TOutput> model, string outputPath, ExportConfiguration config)