Skip to content

Commit aaf7989

Browse files
committed
chore: run formatter
1 parent 99211e1 commit aaf7989

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
@@ -147,7 +147,10 @@ jobs:
147147
import Pkg
148148
Pkg.activate(get(ENV, "JULIA_PROJECT", nothing))
149149
if VERSION < v"1.11-"
150-
Pkg.develop([PackageSpec(; path="."), PackageSpec(; path="lib/ReactantCore")])
150+
Pkg.develop([
151+
Pkg.PackageSpec(; path="."),
152+
Pkg.PackageSpec(; path="lib/ReactantCore")
153+
])
151154
end
152155
Pkg.instantiate()
153156
shell: julia --color=yes --code-coverage=user --depwarn=yes {0}
@@ -203,7 +206,7 @@ jobs:
203206
xla_runtime = "IFRT"
204207
205208
- name: "Run Tests (IFRT)"
206-
if: ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.projec == '.' }}
209+
if: ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.project == '.' }}
207210
timeout-minutes: 60
208211
run: |
209212
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)