Skip to content

Commit 2503cd4

Browse files
committed
Fix spacing
1 parent 66a32d9 commit 2503cd4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/impl/conv_direct.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ Calculate the gradient imposed upon `x` in the convolution `y = x * w`.
120120
w = transpose_swapbatch(w[end:-1:1, end:-1:1, end:-1:1, :, :])
121121
dy = predilate(dy, stride(cdims))
122122
ctdims = DenseConvDims(dy, w; padding=transpose_pad(cdims),
123-
dilation=dilation(cdims),
124-
flipkernel=flipkernel(cdims))
123+
dilation=dilation(cdims),
124+
flipkernel=flipkernel(cdims))
125125
dx = conv_direct!(dx, dy, w, ctdims; alpha=alpha, beta=beta)
126126
return transpose_swapbatch(dx)
127127
end

src/pooling.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ for front_name in (:maxpool, :meanpool)
6363
for N in (3, 4)
6464
@eval begin
6565
function $(Symbol("$(front_name)$(backend)!"))(
66-
y::AbstractArray{T,$N}, x::AbstractArray{T,$N},
67-
pdims::PoolDims; kwargs...) where {T}
66+
y::AbstractArray{T,$N}, x::AbstractArray{T,$N},
67+
pdims::PoolDims; kwargs...) where {T}
6868
$(Symbol("$(front_name)$(backend)!"))(
6969
insert_singleton_spatial_dimension(y, $(5 - N)),
7070
insert_singleton_spatial_dimension(x, $(5 - N)),

0 commit comments

Comments
 (0)