Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Add default call to createConvertTorchToTcpPass #18

Merged

Conversation

sjain-stanford
Copy link
Collaborator

Slightly improves user-interface by allowing pipelines to add the default ConvertTorchToTcpPass without an empty ArrayRef:

-  pm.addNestedPass<func::FuncOp>(tcp::createConvertTorchToTcpPass({}));
+  pm.addNestedPass<func::FuncOp>(tcp::createConvertTorchToTcpPass());

@sjain-stanford sjain-stanford marked this pull request as ready for review November 4, 2023 16:38
@sjain-stanford sjain-stanford requested review from sanjoy, a team and navahgar November 4, 2023 16:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants