-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
The if statement refers to bias.shape.length
, but the error message refers to kernel.shape.length
#8247
Comments
Hi, @set5u Thank you for bringing this issue to our attention and as per my current understanding, The if statement checks if bias is not null and its shape.length (number of dimensions) is not equal to 1. This is the correct check to ensure a valid bias tensor for a 1D convolution.However, the error message incorrectly references The following error message would be more accurate and clearly indicates that the issue lies with the number of dimensions in the bias tensor, not the kernel.
Would you like to submit a PR to take care of this issue from your end now so our developer team will review your PR and will take appropriate action from their end ? if not I'll go ahead and submit a PR from my end to take care of this error message issue. Thank you for your cooperation and patience. |
Could you please submit a PR from your end? |
Alright, I'll go ahead submit PR to take care of this issue. Thank you. |
Hi, @set5u I see that Pull Request #8248 has now been merged, which addresses the issue reported here. Therefore, I'm closing this ticket. Should you encounter any further problems or require additional assistance, please don't hesitate to create a new issue. We're always happy to help! Thank you for your cooperation and patience. |
tfjs/tfjs-layers/src/layers/convolutional.ts
Line 108 in 63250ec
Shouldn't bias.shape.length be output as an error message here?
The text was updated successfully, but these errors were encountered: