Kernel
‘kernel’ Dialect
The Kernel dialect contains operations for high-level math kernels.
Kernel ops
kernel.eval_chebyshev (heir::kernel::EvalChebyshevOp)
Evaluates a Chebyshev polynomial.
Syntax:
operation ::= `kernel.eval_chebyshev` $input attr-dict `:` type($input) `->` type($output)
The kernel.eval_chebyshev operation evaluates a Chebyshev polynomial
on a given input. The domain is required to be [-1, 1].
Traits: AlwaysSpeculatableImplTrait, Elementwise, Scalarizable, Tensorizable, Vectorizable
Interfaces: ConditionallySpeculatable, IncreasesMulDepthOpInterface, NoMemoryEffect (MemoryEffectOpInterface), ReducesLevelOpInterface
Effects: MemoryEffects::Effect{}
Attributes:
| Attribute | MLIR Type | Description |
|---|---|---|
coefficients | ::mlir::ArrayAttr | array attribute |
Operands:
| Operand | Description |
|---|---|
input | any non-token type |
Results:
| Result | Description |
|---|---|
output | any non-token type |