Skip to content

Commit ddc1e03

Browse files
authored
add more comments to upsample.jl
1 parent f9aec37 commit ddc1e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/upsample.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ end
136136

137137
# compatibility layer for old versions of NNlibCUDA
138138
# old versions overload upsample_linear_wcn, new versions overload upsample_linear_kernel
139+
# can be removed from NNlib 0.9, i.e. revert https://github.com/FluxML/NNlib.jl/pull/414
140+
# IF https://github.com/FluxML/NNlibCUDA.jl/pull/49 has been merged
139141
upsample_linear_kernel!(y::AbstractArray{<:Any,3}, x::AbstractArray{<:Any,3}) = upsample_linear_wcn!(y,x)
140142
upsample_linear_kernel!(y::AbstractArray{<:Any,4}, x::AbstractArray{<:Any,4}) = upsample_bilinear_whcn!(y,x)
141143
upsample_linear_kernel!(y::AbstractArray{<:Any,5}, x::AbstractArray{<:Any,5}) = upsample_trilinear_whdcn!(y,x)

0 commit comments

Comments
 (0)