Skip to content

Commit caca2c8

Browse files
where T
1 parent 39cf0ca commit caca2c8

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)