transform.apply_patterns.math.f32_expansion (transform::ApplyF32ExpansionPatternsOp) ¶
Syntax:
operation ::= `transform.apply_patterns.math.f32_expansion` attr-dict
Converts math functions to f32: operands are extended and the result is truncated back.
Interfaces: PatternDescriptorOpInterface
transform.apply_patterns.math.polynomial_approximation (transform::ApplyPolynomialApproximationPatternsOp) ¶
Syntax:
operation ::= `transform.apply_patterns.math.polynomial_approximation` (`enable_avx2` $enable_avx2^)? attr-dict
Enables polynomial approximations for math functions. Optionally, allows usage of x86 AVX2 intrinsics.
Interfaces: PatternDescriptorOpInterface
Attributes: ¶
| Attribute | MLIR Type | Description |
|---|---|---|
enable_avx2 | ::mlir::UnitAttr | unit attribute |
MLIR