guan404ming opened a new pull request, #18664: URL: https://github.com/apache/tvm/pull/18664
## Why The LegalizeOps transform was using string matching to detect data-dependent operators by checking if "dynamic" appears in the operator name. This approach is fragile and doesn't scale well as new data-dependent operators are added. ## How - Add FDataDependent operator attribute to properly mark data-dependent operators - Set FDataDependent=true for relax.dynamic_strided_slice operator - Update LegalizeOps transform to check the FDataDependent attribute instead of string matching -- 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]
