Skip to content

Commit 9d1eb8c

Browse files
mkschlegToucheSir
andauthored
Apply suggestions from code review
Co-authored-by: Brian Chen <ToucheSir@users.noreply.github.com>
1 parent add28e3 commit 9d1eb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perf/bench_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using Zygote: pullback, ignore
77
fw(m, x) = m(x)
88
bw(back) = back(1f0)
99
fwbw(m, ps, x) = gradient(() -> sum(fw(m, x)), ps)
10-
pb(m, ps, x) = pullback(()->sum(fw(m, x)), ps)
10+
pb(m, ps, x) = pullback(() -> sum(fw(m, x)), ps)
1111

1212
function run_benchmark(model, x; cuda=true)
1313

0 commit comments

Comments
 (0)