ContractShadowResult
Structs · AiDotNet.NeuralNetworks
How a layer’s declared shape CONTRACT compared to the shape the imperative walk resolved.
Inheritance: ValueType → ContractShadowResult
Implements: IEquatable<ContractShadowResult>
Constructors
| Constructor | Summary |
|---|---|
ContractShadowResult(int Agreed, int Declined, int Unresolved, IReadOnlyList<string> Disagreements) |
How a layer’s declared shape CONTRACT compared to the shape the imperative walk resolved. |
Properties
| Property | Summary |
|---|---|
IReadOnlyList<string> Disagreements { get; set; } |
Layers where the two disagree, described one per entry. |
int Agreed { get; set; } |
Layers where the contract reproduced the resolved output shape exactly. |
int Declined { get; set; } |
Layers whose contract returned nothing for that rank — allowed, not a defect. |
int Unresolved { get; set; } |
Layers with no concrete resolved shape to compare against yet. |
Methods
| Method | Summary |
|---|---|
bool Equals(ContractShadowResult other) |
|
bool Equals(object obj) |
|
bool op_Equality(ContractShadowResult left, ContractShadowResult right) |
|
bool op_Inequality(ContractShadowResult left, ContractShadowResult right) |
|
int GetHashCode() |
|
string ToString() |
|
void Deconstruct(int Agreed, int Declined, int Unresolved, IReadOnlyList<string> Disagreements) |