Skip to content

Commit 9eac5b4

Browse files
committed
Missing parentheses in cuda test
1 parent cde19ed commit 9eac5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cuda/layers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ end
132132
@test sum(abs2, b(x,y)) 0f0
133133
@test_nowarn gs_gpu = gradient(() -> sum(abs2.(b(x,y))), params(b))
134134
b_cpu, x_cpu, y_cpu = b |> cpu, x |> cpu, y |> cpu
135-
gs_cpu = gradient(() -> sum(abs2.(b_cpu(x_cpu, y_cpu)), params(b_cpu))
135+
gs_cpu = gradient(() -> sum(abs2.(b_cpu(x_cpu, y_cpu))), params(b_cpu))
136136
@test gs_cpu Array(gs_gpu)
137137
end

0 commit comments

Comments
 (0)