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
[webgl] Add default arguments to CropAndResize. #4407
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.
Hi Ann, can you add these two lines in webgl kernel CropAndResize, similar as in cpu kernel:
const $method = method || 'bilinear';
const $extrapolationValue = extrapolationValue || 0;
Reviewable status: 0 of 1 approvals obtained (waiting on @lina128)
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.
Also, add a test for method is null and extrapolationValue is null.
Reviewable status: 0 of 1 approvals obtained
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.
Done - please take another look.
Reviewable status: 0 of 1 approvals obtained
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.
Thank you Ann!
Reviewable status: complete! 1 of 1 approvals obtained (waiting on @lina128)
I think they were unintentionally removed by #4265
To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
This change is