Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Smirnov <[email protected]>
  • Loading branch information
paulnovo and pxl-th authored Jul 27, 2024
1 parent b3c7eb9 commit 1568085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/FluxAMDGPUExt/functor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ function _amd(id::Union{Nothing, Int}, x)
fmap(x -> Adapt.adapt(FluxAMDGPUAdaptor(id), x), x; exclude=_exclude)
end

_other_args(m::Conv) = [m.stride, m.pad, m.dilation, m.groups]
_other_args(m::ConvTranspose) = [m.stride, m.pad, m.outpad, m.dilation, m.groups]
_other_args(m::Conv) = (m.stride, m.pad, m.dilation, m.groups)
_other_args(m::ConvTranspose) = (m.stride, m.pad, m.outpad, m.dilation, m.groups)

# CPU -> GPU

Expand Down

0 comments on commit 1568085

Please sign in to comment.