Table of Contents

Constructor HttpOnnxModelSource

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

HttpOnnxModelSource(HttpClient, IEdgeModelPaths, IOptions<HttpOnnxModelSourceOptions>, ILogger<HttpOnnxModelSource>)

Creates the source.

public HttpOnnxModelSource(HttpClient httpClient, IEdgeModelPaths paths, IOptions<HttpOnnxModelSourceOptions> options, ILogger<HttpOnnxModelSource> logger)

Parameters

httpClient HttpClient

The client. Not owned: whoever registered it disposes it.

paths IEdgeModelPaths

The model root.

options IOptions<HttpOnnxModelSourceOptions>

The fetch options.

logger ILogger<HttpOnnxModelSource>

The logger.