-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Conv layers have trainable stride? #1293
Comments
Because trainable parameters for |
Since the trainable(m) = functor(m)[1] which in turn returns every field of Conv due to the line @functor Conv Notice though that only AbstractArray objects end up in the parameters, so you have julia> params(Conv((2,2), 1=>1))
Params([Float32[0.12754345 -0.69176644; 0.1930983 -0.04415129], Float32[0.0]]) as expected |
Although it is true that |
I am happy to pick this up if it would help. I could add in a specialised But I thought it might be cleaner to change the generic method of |
IIRC |
Yeah, we don't need to do anything special here yet. Maybe set
|
I'm looking at existing layers to gain an understanding as I build my own. This is confusing me:
I wouldn't expect stride, pad, dilation, and sigma to be "trainable". Am I missing something or is this a bug?
The text was updated successfully, but these errors were encountered: