You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
nvukobratTT
changed the title
Restructure the generating unique op test function
[Model Analysis] Restructure the generating unique op test function
Nov 18, 2024
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.
The text was updated successfully, but these errors were encountered: