Skip to content
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

Documenter.jl update to 1.4.0 #578

Merged
merged 5 commits into from
Apr 27, 2024
Merged

Conversation

dom-linkevicius
Copy link
Contributor

See #577 for the motivation of this PR.

Docstring for ∇upsample_nearest is missing, if anyone provides me one I can splice it in.

@CarloLucibello
Copy link
Member

Thanks for this! For the missing docstring you can adapt the one for linear upsampling.

Comment on lines +176 to +185
"""
∇upsample_nearest(Δ::AbstractArray{T,3}, scales::NTuple{S, <:Integer}) where T

# Arguments
- `Δ`: Incoming gradient array, backpropagated from downstream layers
- `scales`: scales by which the image was upsampled in the first place

# Outputs
- `dx`: Downsampled version of `Δ`
"""
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CarloLucibello is this correct?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine!

@CarloLucibello CarloLucibello merged commit 6d168b4 into FluxML:master Apr 27, 2024
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants