Skip to content

Commit e33e5a8

Browse files
committed
chore: run formatter
1 parent 9baec2f commit e33e5a8

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/CommonCI.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,10 @@ jobs:
145145
import Pkg
146146
Pkg.activate(get(ENV, "JULIA_PROJECT", nothing))
147147
if VERSION < v"1.11-"
148-
Pkg.develop([PackageSpec(; path="."), PackageSpec(; path="lib/ReactantCore")])
148+
Pkg.develop([
149+
Pkg.PackageSpec(; path="."),
150+
Pkg.PackageSpec(; path="lib/ReactantCore")
151+
])
149152
end
150153
Pkg.instantiate()
151154
shell: julia --color=yes --code-coverage=user --depwarn=yes {0}

test/integration/Flux/flux.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ using Reactant, Flux, Test
44
noisy = rand(Float32, 2, 1000)
55
truth = [xor(col[1] > 0.5, col[2] > 0.5) for col in eachcol(noisy)]
66

7-
model = Chain(
8-
Dense(2 => 3, tanh),
9-
BatchNorm(3),
10-
Dense(3 => 2),
11-
softmax,
12-
)
7+
model = Chain(Dense(2 => 3, tanh), BatchNorm(3), Dense(3 => 2), softmax)
138

149
origout = model(noisy)
1510

0 commit comments

Comments
 (0)