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

Head commit for run:
75a6b308c6ff1c7838e88b56fbcc0bd8d9f3328b / HoYi 
<[email protected]>
[Relax][Frontend][TFLite] Fix and test `MATRIX_DIAG`, `MATRIX_SET_DIAG`, 
`SPARSE_TO_DENSE` (#19408)

This PR partially implements test coverage requested in issue #18971 for
Relax TFLite frontend operator tests.

## Bug Fix

The TFLite frontend converters for `MATRIX_DIAG`, `MATRIX_SET_DIAG`, and
`SPARSE_TO_DENSE` were broken due to calling non-existent Relax ops:

- `relax.op.matrix_set_diag` - never registered in Relax
- `relax.op.sparse_to_dense` - never registered in Relax

These ops only exist as TOPI packed functions (`topi.matrix_set_diag`,
`topi.sparse_to_dense`).

**Fix:** Replace direct op calls with `call_dps_packed` to invoke the
TOPI packed functions:
- `convert_matrix_diag`: zeros + call_dps_packed("topi.matrix_set_diag",
...)
- `convert_matrix_set_diag`: call_dps_packed("topi.matrix_set_diag",
...)
- `convert_sparse_to_dense`: call_dps_packed("topi.sparse_to_dense",
...)

Refs: #18971

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

With regards,
GitHub Actions via GitBox


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

Reply via email to