Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Model Analysis] Restructure the generating unique op test function #723

Open
chandrasekaranpradeep opened this issue Nov 18, 2024 · 0 comments
Assignees

Comments

@chandrasekaranpradeep
Copy link
Contributor

Function Purpose
The generate_unique_op_tests function in the tvm_to_python.py file is used for extracting unique op configuration based upon the operand node type(i.e Activation/Parameter/Constant), operand shape and operand datatype and then compare the operation argument if any and store operation names in association with operation argument and generate the forge module and test.

Restructure the generate_unique_op_tests function:
1. We are collecting process framework parameter function status when there is params or constants used in the forge module class defination and forward function and then use it in pytest parameter instead we declare the function as method with ForgeModule (i.e base class) and so we can avoid this in the generate_unique_op_tests and write_pytest_function in ForgeWritter.

@nvukobratTT nvukobratTT changed the title Restructure the generating unique op test function [Model Analysis] Restructure the generating unique op test function Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants