Skip to content

Commit 7372ad5

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

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/CommonCI.yml

Lines changed: 5 additions & 2 deletions
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}
@@ -201,7 +204,7 @@ jobs:
201204
xla_runtime = "IFRT"
202205
203206
- name: "Run Tests (IFRT)"
204-
if: ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.projec == '.' }}
207+
if: ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.project == '.' }}
205208
timeout-minutes: 60
206209
run: |
207210
import Pkg

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)