torch-mlir/projects/pt1/python/torch_mlir
Yuanqiang Liu 5928f68e60
[Stablehlo] refactor amax, max, max.dim's lowering to stablehlo (#3348)
* not to decompose `aten.amax` on `stablehlo` backend. Because it could
be lowering to `stablehlo.reduce` directly.
* lowering `aten.max.dim` to `stablehlo.reduce apply max` when
`AtenMaxDimOp.getIndices()` doesn't have users. It's more simple.
2024-05-16 00:05:19 +08:00
..
_torch_mlir_custom_op_example [NFC reformat] Applies pre-commit formatting to Python files. (#3244) 2024-04-27 14:16:31 -07:00
csrc [NFC reformat] Applies pre-commit formatting to Python files. (#3244) 2024-04-27 14:16:31 -07:00
jit_ir_importer MaxPool1d lowering to linalg (#3295) 2024-05-10 22:05:26 +05:30
_dynamo_fx_importer.py [NFC] Update black version (#3256) 2024-04-29 11:06:01 +08:00
_version.py [NFC reformat] Applies pre-commit formatting to Python files. (#3244) 2024-04-27 14:16:31 -07:00
dynamo.py [NFC reformat] Applies pre-commit formatting to Python files. (#3244) 2024-04-27 14:16:31 -07:00
torchscript.py [Stablehlo] refactor amax, max, max.dim's lowering to stablehlo (#3348) 2024-05-16 00:05:19 +08:00