IMultiOutputShapeContract

Interfaces · AiDotNet.Interfaces

Opt-in for a contract describing a layer that returns MORE THAN ONE tensor.

Implements: IShapeContract

How It Works

Reach it through OutputsFor, which falls back to wrapping the single-output answer, so every existing contract keeps answering exactly as before.

Methods

Method Summary
IReadOnlyList<IReadOnlyList<OutputAxisContract>> OutputsFor(IReadOnlyList<int> inputRanks) One axis list per OUTPUT tensor, for a layer that returns more than one.