TensorInputAttribute
Attributes ยท AiDotNet.Attributes
Refines the generated contract for a tensor method parameter. Most numerical layers need no annotation; token IDs and masks opt into their semantic domain here once.
Inheritance: Attribute โ TensorInputAttribute
Constructors
| Constructor | Summary |
|---|---|
TensorInputAttribute(LayerInputDomainKind domain) |
Properties
| Property | Summary |
|---|---|
LayerInputDomainKind Domain { get; } |
|
TensorPortRole Role { get; set; } |
|
TensorPortSource Source { get; set; } |
|
int ExactRank { get; set; } |
|
int MaximumRank { get; set; } |
|
int MinimumElementCount { get; set; } |
|
int MinimumRank { get; set; } |
|
int[] AxisDivisors { get; set; } |
|
int[] MinimumAxisSizes { get; set; } |
|
string CustomProviderKey { get; set; } |
|
string DomainResolver { get; set; } |
|
string MaxExclusiveMember { get; set; } |
|
string MaxExclusiveResolver { get; set; } |
|
string Name { get; set; } |
|
string SameShapeAs { get; set; } |
|
string Variant { get; set; } |