IMultiPortShapeContract
Interfaces · AiDotNet.Interfaces
Opt-in for a contract whose output depends on MORE THAN ONE input port.
Implements: IShapeContract
Known implementations: ConcatenateLayer<T>
How It Works
Reach it through OutputAxesForPorts, which falls back to the
single-input form when exactly one port is fed, so the ~290 single-input contracts need no change.
Methods
| Method | Summary |
|---|---|
IReadOnlyList<OutputAxisContract> OutputAxesForPorts(IReadOnlyList<int> inputRanks) |
One entry per output axis, for a layer fed SEVERAL inputs of the given ranks. |