Table of Contents

Constructor OnnxModelFile

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

OnnxModelFile(string, OnnxModelFileRole, long, string)

One file a model needs on disk.

public OnnxModelFile(string RelativePath, OnnxModelFileRole Role, long SizeBytes, string Sha256)

Parameters

RelativePath string

The path under the model directory, always with forward slashes: it is the same string the Hugging Face URL carries.

Role OnnxModelFileRole

What the file is for.

SizeBytes long

The exact size, used by the fast path and by the free-disk check.

Sha256 string

Lowercase hex. On Hugging Face that is the git-LFS oid - never the xetHash those Xet-backed repos also return.