Commits


Chester Liu authored and GitHub committed 984dd02df32
Update optimize_pipeline.py to use __name__ detection (#15866) ### Description <!-- Describe your changes. --> Use `__name__` detection in `optimize_pipeline.py`. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> It prevents unwanted execution of `main` when importing the file.