OnnxLayerInputs
Models & Types · AiDotNet.Onnx
Named tensors flowing INTO a layer’s ONNX node(s). The names refer to tensors that
have already been added to the OnnxGraphBuilder by an upstream layer
(or the model input). A layer converter consumes these names as the inputs field
of the ONNX nodes it emits.
Implements: IEquatable<OnnxLayerInputs>
Constructors
| Constructor | Summary |
|---|---|
OnnxLayerInputs(IReadOnlyList<string> TensorNames) |
Convenience constructor for the common single-input case. |
OnnxLayerInputs(string tensorName) |
Convenience constructor for the common single-input case. |
Properties
| Property | Summary |
|---|---|
IReadOnlyList<string> TensorNames { get; set; } |
|
bool HasMultiple { get; } |
True if this layer has more than one input tensor (e.g., a concat or residual add). |
string Primary { get; } |
The primary input tensor name (the first entry). |
Methods
| Method | Summary |
|---|---|
OnnxLayerInputs <Clone>$() |
|
bool Equals(OnnxLayerInputs other) |
|
bool Equals(object obj) |
|
bool op_Equality(OnnxLayerInputs left, OnnxLayerInputs right) |
|
bool op_Inequality(OnnxLayerInputs left, OnnxLayerInputs right) |
|
int GetHashCode() |
|
string ToString() |
|
void Deconstruct(IReadOnlyList<string> TensorNames) |