Supported ATen ops¶
This page lists every PyTorch ATen operator that TorchConverter lowers to Core AI operations out of the box.
How to read this page¶
Op names use the FX qualified-name form
op_name.overload(e.g.add.Tensor,mean.dim). When PyTorch’s decomposition pipeline produces a different overload than the one listed, that overload is not supported.A few names appear without an overload suffix (e.g.
add,mul,getitem) — these match plain Python-operator FX nodes that have no.defaultoverload.Three ops —
instance_norm.default,pixel_shuffle.default, andscaled_dot_product_attention.default— are deliberately preserved byget_decomp_table()and emitted as composite ops in the lowered IR.All ops below are resolved through the registry in
coreai_torch._aten_to_core. To override a built-in lowering with your own, passallow_override=Truetoregister_torch_lowering().
ATen ops¶
ATen op |
Notes |
|---|---|
|
|
|
Returns the 0-dim input as-is |
|
|
|
Inference path only |
|
|
|
Identity or |
|
|
|
|
|
|
|
|
|
|
|
|
|
Identity — no IR emitted |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lowered as a composite op |
|
Lowered as a composite op |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Identity in the absence of memory-format changes |
|
|
|
|
|
1D / 2D / 3D, transposed, grouped |
|
|
|
|
|
|
|
Lowered to |
|
|
|
Honors |
|
Lowered to |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lowered to |
|
|
|
|
|
|
|
|
|
Lowered as a composite |
|
|
|
|
|
Lowered to |
|
Lowered to |
|
Lowered to |
|
Preserved as composite by |
|
Lowered as |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Preserved as composite by |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Preserved as composite by |
|
|
|
Lowered to |
|
|
|
|
|
|
|
|
|
|
|
Lowered to |
|
Lowered to |
|
Lowered to |
|
|
|
|
|
|
|
|
|
Casts a |
|
|
|
Returns the size of a tensor along a dim as a shape- |
|
|
|
|
|
|
|
Identity or |
|
|
|
|
|
|
|
|
|
|
|
Lowered to |
|
Lowered to |
|
|
|
|
|
|
|
Higher-order ops¶
Op |
Notes |
|---|---|
|
|
|
|
See also¶
TorchConverter API reference —
register_torch_lowering()for adding or overriding op lowerings.Custom Op Lowering — tutorial walkthrough.
Composite ops API reference — built-in composite op modules.
Notices¶
PyTorch is a trademark of Meta Platforms, Inc.