Table of Contents

Constructor OnnxSessionSignature

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

OnnxSessionSignature(IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyDictionary<string, string>, IReadOnlyDictionary<string, IReadOnlyList<long>>)

What the loaded graph actually declares, read from ORT after creation rather than assumed from a preset. This is what turns "somebody pointed a preset at a different export" from silently wrong vectors into a message naming the file.

public OnnxSessionSignature(IReadOnlyList<string> InputNames, IReadOnlyList<string> OutputNames, IReadOnlyDictionary<string, string> InputTypes, IReadOnlyDictionary<string, IReadOnlyList<long>> OutputShapes)

Parameters

InputNames IReadOnlyList<string>

Every input ORT demands in the feed, in the graph's declared order.

OutputNames IReadOnlyList<string>

Every output the graph produces.

InputTypes IReadOnlyDictionary<string, string>

Input name to ORT's element type, as a string.

OutputShapes IReadOnlyDictionary<string, IReadOnlyList<long>>

Output name to its declared dimensions. A symbolic dimension is -1: only the static ones can be compared with a preset's declared dimension count.