Skip to content

Commit 106ea6c

Browse files
Update src/upsample.jl
Co-authored-by: Dhairya Gandhi <dhairya@juliacomputing.com>
1 parent 1dba5db commit 106ea6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/upsample.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The interpolation grid is identical to the one used by `imresize` from `Images.j
1313
1414
Currently only 2d upsampling is supported.
1515
"""
16-
function bilinear_upsample(x::AbstractArray{<:Number,4}, k::NTuple{2,Int})
16+
function bilinear_upsample(x::AbstractArray{T,4}, k::NTuple{2,Int}) where T
1717
# This function is gpu friendly
1818

1919
imgsize = size(x)

0 commit comments

Comments
 (0)