Skip to content

Commit c4c9fcf

Browse files
committed
🆕rename package
1 parent 4521709 commit c4c9fcf

File tree

14 files changed

+30
-26
lines changed

14 files changed

+30
-26
lines changed

‎.github/workflows/CI.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ jobs:
5454
- run: |
5555
julia --project=docs -e '
5656
using Documenter: DocMeta, doctest
57-
using NeuralOperator
58-
DocMeta.setdocmeta!(NeuralOperator, :DocTestSetup, :(using NeuralOperator); recursive=true)
59-
doctest(NeuralOperator)'
57+
using OperatorLearning
58+
DocMeta.setdocmeta!(OperatorLearning, :DocTestSetup, :(using OperatorLearning); recursive=true)
59+
doctest(OperatorLearning)'

‎Project.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "NeuralOperator"
1+
name = "OperatorLearning"
22
uuid = "5913d0e6-5bb6-45e3-8a06-341cf4fd0203"
33
authors = ["Patrick Zimbrod <[email protected]>"]
44
version = "0.1.0"

‎README.md‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://pzimbrod.github.io/OperatorLearning.jl/dev)
66
[![Build Status](https://github.com/pzimbrod/OperatorLearning.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/pzimbrod/OperatorLearning.jl/actions/workflows/CI.yml?query=branch%3Amaster++)
77

8-
A `Julia` implementation of the Fourier Neural Operator conceived by [Zongyi et al.](https://arxiv.org/abs/2010.08895)
9-
using (mainly) [Flux.jl](https://github.com/FluxML/Flux.jl) and [FFTW.jl](https://github.com/JuliaMath/FFTW.jl).
8+
A Package that provides Layers for the learning of (nonlinear) operators in order to solve parametric PDEs.
9+
10+
For now, this package contains the Fourier Neural Operator originally proposed by Li et al.
1011

1112
I decided to implement this method in Julia because coding up a layer using PyTorch in Python is rather cumbersome in comparison and Julia as a whole simply runs at comparable or faster speed than Python. Please do check out the [original work](https://github.com/zongyi-li/fourier_neural_operator) at GitHub as well.
1213

@@ -17,7 +18,7 @@ The implementation of the layers is influenced heavily by the basic layers provi
1718
Simply install by running in a REPL:
1819

1920
```julia
20-
pkg> add NeuralOperator
21+
pkg> add OperatorLearning
2122
```
2223

2324
## Usage/Examples
@@ -30,7 +31,7 @@ Additionally, higher Fourier modes are filtered out in the convolution path wher
3031
The syntax for a single Fourier Layer is:
3132

3233
```julia
33-
using NeuralOperator
34+
using OperatorLearning
3435
using Flux
3536

3637
# Input = 101, Output = 101, Batch size = 200, Grid points = 100, Fourier modes = 16
@@ -57,3 +58,7 @@ To see a full implementation, check the Burgers equation example at `examples/bu
5758
## Contributing
5859

5960
Contributions are always welcome!
61+
62+
## References
63+
64+
- Li et al., 2020 [arXiv:2010.08895](https://arxiv.org/abs/2010.08895)

‎benchmarks/Project.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
33
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
44
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
5-
NeuralOperator = "5913d0e6-5bb6-45e3-8a06-341cf4fd0203"
5+
OperatorLearning = "5913d0e6-5bb6-45e3-8a06-341cf4fd0203"
66
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

‎benchmarks/bench_utils.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using BenchmarkTools
22
using Flux
3-
using NeuralOperator
3+
using OperatorLearning
44
using CUDA
55
using Zygote: pullback
66

‎benchmarks/runbenchmarks.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using NeuralOperator, Flux
1+
using OperatorLearning, Flux
22

33
versioninfo()
44
include("bench_utils.jl")

‎docs/Manifest.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ uuid = "a63ad114-7e13-5084-954f-fe012c677804"
5757
[[NetworkOptions]]
5858
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
5959

60-
[[NeuralOperator]]
60+
[[OperatorLearning]]
6161
path = ".."
6262
uuid = "1338832d-e311-4fa7-a4df-210c2f38d798"
6363
version = "0.1.0"

‎docs/Project.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3-
NeuralOperator = "5913d0e6-5bb6-45e3-8a06-341cf4fd0203"
3+
OperatorLearning = "5913d0e6-5bb6-45e3-8a06-341cf4fd0203"

‎docs/make.jl‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using NeuralOperator
1+
using OperatorLearning
22
using Documenter
33

4-
DocMeta.setdocmeta!(NeuralOperator, :DocTestSetup, :(using NeuralOperator); recursive=true)
4+
DocMeta.setdocmeta!(OperatorLearning, :DocTestSetup, :(using OperatorLearning); recursive=true)
55

66
makedocs(;
7-
modules=[NeuralOperator],
7+
modules=[OperatorLearning],
88
authors="Patrick Zimbrod <[email protected]> and contributors",
99
repo="https://github.com/pzimbrod/OperatorLearning.jl/blob/{commit}{path}#{line}",
1010
sitename="OperatorLearning.jl",
@@ -21,6 +21,5 @@ makedocs(;
2121

2222
deploydocs(;
2323
repo="github.com/pzimbrod/OperatorLearning.jl",
24-
versions = ["stable" => "v^", "v#.#", devurl => devurl],
2524
#devbranch="main",
2625
)

‎docs/src/index.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
```@meta
2-
CurrentModule = NeuralOperator
2+
CurrentModule = OperatorLearning
33
```
44

5-
# NeuralOperator
5+
# OperatorLearning
66

7-
Documentation for [NeuralOperator](https://github.com/Patrick Zimbrod/OperatorLearning.jl).
7+
Documentation for [OperatorLearning](https://github.com/pzimbrod/OperatorLearning.jl).
88

99
```@index
1010
```
@@ -14,7 +14,7 @@ Documentation for [NeuralOperator](https://github.com/Patrick Zimbrod/OperatorLe
1414
Simply install by running in a REPL:
1515

1616
```julia
17-
pkg> add NeuralOperator
17+
pkg> add OperatorLearning
1818
```
1919

2020
## Usage/Examples
@@ -27,7 +27,7 @@ Additionally, higher Fourier modes are filtered out in the convolution path wher
2727
The syntax for a single Fourier Layer is:
2828

2929
```julia
30-
using NeuralOperator
30+
using OperatorLearning
3131
using Flux
3232

3333
# Input = 101, Output = 101, Batch size = 200, Grid points = 100, Fourier modes = 16

0 commit comments

Comments
 (0)