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

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
foldfelis authored Nov 22, 2021
1 parent da76f8c commit 4e64235
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ pkg> add NeuralOperators

```julia
model = Chain(
# project finite-dimensional data to infinite-dimensional space
# lift (d + 1)-dimensional vector field to n-dimensional vector field
# here, d == 1 and n == 64
Dense(2, 64),
# operator projects data between infinite-dimensional spaces
# map each hidden representation to the next by integral kernel operator
FourierOperator(64=>64, (16, ), gelu),
FourierOperator(64=>64, (16, ), gelu),
FourierOperator(64=>64, (16, ), gelu),
FourierOperator(64=>64, (16, )),
# project infinite-dimensional function to finite-dimensional space
# project back to the scalar field of interest space
Dense(64, 128, gelu),
Dense(128, 1),
flatten
Expand Down

2 comments on commit 4e64235

@foldfelis
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/49154

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.5 -m "<description of version>" 4e642358c6e493240a1fba7dfe4848c3767f445a
git push origin v0.1.5

Please sign in to comment.