The GitHub Actions job "tvm-bot" on tvm.git/main has succeeded.
Run started by GitHub user clouds56 (triggered by clouds56).

Head commit for run:
f0af322c197615457a1df49f6409bf8ffcf2ee14 / Soowon Jeong <[email protected]>
[Relax][Frontend][TFLite] Add `REDUCE_ANY` and `REDUCE_ALL` (#19413)

## Summary

Adds TFLite frontend support for `REDUCE_ANY` and `REDUCE_ALL` (B-group
item in #19412).

## Lowering

`REDUCE_ANY` / `REDUCE_ALL` take bool tensors and compute logical OR /
AND along the given axes. Max / min on a bool tensor produces the same
result, so no new Relax op is required:

- `REDUCE_ANY` → `relax.op.max`
- `REDUCE_ALL` → `relax.op.min`

Both reuse the existing `_convert_reduce` handler (shared with
`REDUCE_MAX`, `REDUCE_MIN`, `REDUCE_PROD`, `MEAN`, `SUM`), with entries
added alphabetically to `convert_map`.

## Testing

Added `test_reduction_bool_ops` in
`tests/python/relax/test_frontend_tflite.py`, parametrized over the same
shape / axes / keepdims matrix as the existing `test_reduction_ops` (24
combinations total). Verified locally by running the test function
directly across all parametrizations.

Refs #19412.

Report URL: https://github.com/apache/tvm/actions/runs/24563684221

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to