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

Add abstract types for models and kernels #82

Merged
merged 3 commits into from
Jul 29, 2022
Merged

Conversation

yuehhua
Copy link
Collaborator

@yuehhua yuehhua commented Jul 16, 2022

Resolves #81

@yuehhua yuehhua requested a review from foldfelis July 16, 2022 16:46
@codecov
Copy link

codecov bot commented Jul 16, 2022

Codecov Report

Merging #82 (77c0f6e) into main (63f0c58) will increase coverage by 0.43%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   95.27%   95.70%   +0.43%     
==========================================
  Files          10       10              
  Lines         148      163      +15     
==========================================
+ Hits          141      156      +15     
  Misses          7        7              
Impacted Files Coverage Δ
src/DeepONet/DeepONet.jl 56.25% <ø> (ø)
src/NOMAD/NOMAD.jl 100.00% <ø> (ø)
src/NeuralOperators.jl 100.00% <ø> (ø)
src/operator_kernel.jl 100.00% <ø> (ø)
src/FNO/FNO.jl 100.00% <100.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@foldfelis
Copy link
Contributor

@yuehhua what about FNO and MNO?

@yuehhua
Copy link
Collaborator Author

yuehhua commented Jul 17, 2022

A way to go is to make them a type and put the Chain in their struct.

@foldfelis foldfelis merged commit 54602e6 into SciML:main Jul 29, 2022
@yuehhua yuehhua deleted the abstract branch August 6, 2022 15:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abstract type for neural operators
2 participants