Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Commit ebf9e87

Browse files
committed
probably?
1 parent 7205199 commit ebf9e87

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

src/fno.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ function FourierNeuralOperator(
6767
for i in 2:(C - 3)]...),
6868
project,
6969
name="FourierNeuralOperator")
70-
end
70+
end

src/layers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,4 @@ end # Total: 175 parameters,
188188
function SpectralKernel(ch::Pair{<:Integer, <:Integer}, modes::Dims{N},
189189
act::A=identity; kwargs...) where {N, A}
190190
return OperatorKernel(ch, modes, FourierTransform{ComplexF32}, act; kwargs...)
191-
end
191+
end

src/transform.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ end
3232
@inline function inverse(
3333
ft::FourierTransform, x_fft::AbstractArray{T, N}, M::NTuple{N, Int64}) where {T, N}
3434
return real(irfft(x_fft, first(M), 1:ndims(ft)))
35-
end
35+
end

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Temporarily capture certain calls like AMDGPU for ComplexFloats
2-
@inline __batched_mul(x, y) = x y
2+
@inline __batched_mul(x, y) = x y

test/fno_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
end broken=broken
3030
end
3131
end
32-
end
32+
end

test/layers_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@
3737
end broken=broken
3838
end
3939
end
40-
end
40+
end

test/qa_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ end
1919
@test check_no_implicit_imports(LuxNeuralOperators; skip=(Base, Core, Lux)) === nothing
2020
@test check_no_stale_explicit_imports(LuxNeuralOperators) === nothing
2121
@test check_all_qualified_accesses_via_owners(LuxNeuralOperators) === nothing
22-
end
22+
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
using ReTestItems
22

3-
ReTestItems.runtests(@__DIR__)
3+
ReTestItems.runtests(@__DIR__)

test/shared_testsetup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ export @jet, @test_gradients, check_approx
6060
export BACKEND_GROUP, MODES, cpu_testing, cuda_testing, amdgpu_testing, get_default_rng,
6161
get_stable_rng, train!
6262

63-
end
63+
end

0 commit comments

Comments
 (0)