Skip to content

Commit 703902c

Browse files
committed
Remove CoupledNODE from deps
1 parent f106c19 commit 703902c

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ version = "0.1.0"
66
[deps]
77
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
88
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
9-
CoupledNODE = "88291d29-22ea-41b1-bc0b-03785bffce48"
109
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
1110
LuxCore = "bb33d45b-7691-41d6-9220-0943567d0623"
1211
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

test/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[deps]
22
AttentionLayer = "3ee63b08-73c5-50c8-acc9-f395aa68c39a"
33
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
4-
CoupledNODE = "88291d29-22ea-41b1-bc0b-03785bffce48"
54
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
65
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
76
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"

test/test-model.jl

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ using Test
22
using Lux
33
using AttentionLayer: attention
44
using ComponentArrays: ComponentArray
5-
using CoupledNODE: cnn
65
using Random
76
using Zygote: Zygote
87

@@ -19,16 +18,22 @@ using Zygote: Zygote
1918
rng = Xoshiro(123)
2019

2120
# Test CNN Layer Setup
22-
CnnLayers, _, _ = cnn(;
23-
T = T,
24-
D = D,
25-
data_ch = 2 * D, # Input channels for CNN after concatenation
26-
radii = [3, 3],
27-
channels = [2, 2],
28-
activations = [tanh, identity],
29-
use_bias = [false, false],
30-
rng,
31-
)
21+
r =
22+
[3, 3], c =
23+
[2, 2], σ =
24+
[tanh, identity], b =
25+
[false, false], CnnLayers = (
26+
(
27+
Lux.Conv(
28+
ntuple-> 2r[i] + 1, D),
29+
c[i] => c[i+1],
30+
σ[i];
31+
use_bias = b[i],
32+
init_weight = glorot_uniform_T,
33+
pad = (ntuple-> 2r[i] + 1, D) .- 1) 2,
34+
) for i in eachindex(r)
35+
)...,
36+
)
3237

3338
# Verify CNN layers' setup
3439
@test CnnLayers != nothing

0 commit comments

Comments
 (0)