-
Notifications
You must be signed in to change notification settings - Fork 659
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
Support bool type for torch triu. #2421
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the enhancement. Code looks good. One minor comment.
CI: https://gitlab.com/coremltools1/coremltools/-/pipelines/1609408368
params_dict = {} | ||
if diagonal is not None: | ||
params_dict["diagonal"] = diagonal | ||
model = ModuleWrapper(torch.triu, params_dict) | ||
input_data = torch.randn(shape) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't really make sense to populate this only to have it usually overriden. I'd put this line in an else-block.
@fukatani - In order to get a clean CI run, you need to rebase on top of the latest |
@TobyRoseman |
Thanks @fukatani |
No description provided.