-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Using numpy.tensordot for Conv2D #57
Comments
Oh, interesting! Thanks for the tip - I'll need to look into this, but it looks like it could be much cleaner :) I'm pretty busy these days, so if you're impatient and would like to submit a PR, I'd be happy to consider it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From this link:
https://stackoverflow.com/questions/56085669/convolutional-layer-in-python-using-numpy
and
https://numpy.org/doc/stable/reference/generated/numpy.tensordot.html
Z = np.tensordot(X_pad, weights, axes=3) + self.bias
Does this function is more relevant that using im2col?
The text was updated successfully, but these errors were encountered: