ShapeKey
Structs ยท AiDotNet.Memory
Value-type shape key for arena dictionary lookups. Pre-computes hash to avoid per-lookup allocation. Matches TensorPool.GetTensorPoolKey pattern.
Inheritance: ValueType โ ShapeKey
Implements: IEquatable<ShapeKey>
Constructors
| Constructor | Summary |
|---|---|
ShapeKey(int[] shape, bool defensiveCopy) |
Methods
| Method | Summary |
|---|---|
bool Equals(ShapeKey other) |
|
bool Equals(object obj) |
|
int GetHashCode() |