-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conv2d with gauss kernel is not the same as gaussian average pooling …
…layer because of how feature channels are treated. Reimplemented gpool layer.
- Loading branch information
1 parent
1ce0ef1
commit fd767ef
Showing
3 changed files
with
115 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
from .base import CustomNetwork, GradientUtils | ||
from .phygnn import PhysicsGuidedNeuralNetwork | ||
from .layers import Layers, HiddenLayers | ||
from .layers.custom_layers import GaussianKernelInit2D | ||
from .layers.custom_layers import GaussianAveragePooling2D | ||
from .utilities import PreProcess, tf_isin, tf_log10 | ||
from phygnn.version import __version__ | ||
from tensorflow.keras.utils import get_custom_objects | ||
|
||
get_custom_objects()['GaussianKernelInit2D'] = GaussianKernelInit2D | ||
get_custom_objects()['GaussianAveragePooling2D'] = GaussianAveragePooling2D | ||
|
||
__author__ = """Grant Buster""" | ||
__email__ = "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters