Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 3b510b0

Browse files
Splitting the convolution layers. (#448)
* Splitting the convoltion layers. * Fixing the import of densenet. * Fixed pep8
1 parent e92adab commit 3b510b0

File tree

7 files changed

+489
-462
lines changed

7 files changed

+489
-462
lines changed

keras_contrib/applications/densenet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
from keras.applications.imagenet_utils import preprocess_input as _preprocess_input
7373
import keras.backend as K
7474

75-
from keras_contrib.layers.convolutional import SubPixelUpscaling
75+
from keras_contrib.layers import SubPixelUpscaling
7676

7777
DENSENET_121_WEIGHTS_PATH = (r'https://github.com/titu1994/DenseNet/releases/download'
7878
r'/v3.0/DenseNet-BC-121-32.h5')

keras_contrib/layers/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
from .advanced_activations.swish import Swish
66
from .advanced_activations.sinerelu import SineReLU
77

8-
from .convolutional import CosineConv2D
9-
from .convolutional import SubPixelUpscaling
8+
from .convolutional.cosineconvolution2d import CosineConv2D
9+
from .convolutional.cosineconvolution2d import CosineConvolution2D
10+
from .convolutional.subpixelupscaling import SubPixelUpscaling
1011

1112
from .core import CosineDense
1213

keras_contrib/layers/convolutional/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)