Constructor HttpOnnxModelSource
HttpOnnxModelSource(HttpClient, IEdgeModelPaths, IOptions<HttpOnnxModelSourceOptions>, ILogger<HttpOnnxModelSource>)
Creates the source.
public HttpOnnxModelSource(HttpClient httpClient, IEdgeModelPaths paths, IOptions<HttpOnnxModelSourceOptions> options, ILogger<HttpOnnxModelSource> logger)
Parameters
httpClientHttpClientThe client. Not owned: whoever registered it disposes it.
pathsIEdgeModelPathsThe model root.
optionsIOptions<HttpOnnxModelSourceOptions>The fetch options.
loggerILogger<HttpOnnxModelSource>The logger.