guan404ming opened a new pull request, #18652: URL: https://github.com/apache/tvm/pull/18652
## Why The ONNX Unique operator supports four optional outputs (unique values, indices, inverse_indices, and counts), but the TVM ONNX frontend only returned the unique values output. ## How - Updated `Unique._impl_v11` to check the number of expected outputs via `attr["tvm_custom"]["num_outputs"]` - Pass `return_index`, `return_inverse`, and `return_counts` parameters to `relax.op.unique` - Return a `relax.Tuple` containing all requested outputs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
