CodegenTensorBinding
Models & Types · AiDotNet.Tensors.Engines.Compilation.Codegen.Ir
No summary documentation available yet.
Constructors
| Constructor |
Summary |
CodegenTensorBinding(int parameterIndex, string name, int[] shape, CodegenAffineExpr[] map, bool isOutput, CodegenElementType elementType, CodegenIndirectIndex[] indirect, bool integerValue) |
|
Properties
| Property |
Summary |
CodegenElementType ElementType { get; } |
|
IReadOnlyList<CodegenAffineExpr> Map { get; } |
|
IReadOnlyList<CodegenIndirectIndex> Indirect { get; } |
|
IReadOnlyList<int> Shape { get; } |
|
bool HasIndirection { get; } |
|
bool IsIndexTensor { get; } |
|
bool IsIntegerValue { get; } |
|
bool IsOutput { get; } |
|
bool NeedsAtomicStore { get; } |
|
bool NeedsBoundsCheck { get; } |
|
bool NeedsConversion { get; } |
|
int ElementBytes { get; } |
|
int ParameterIndex { get; } |
|
long ElementCount { get; } |
|
string Name { get; } |
|
Methods
| Method |
Summary |
long ResolveOffset(IReadOnlyList<int> axisValues, IReadOnlyList<double[]> inputData, bool inBounds) |
|
long ResolveOffset(IReadOnlyList<int> axisValues, bool inBounds) |
|
long Stride(int dim) |
|
string Describe(IReadOnlyList<CodegenAxis> axes) |
|