Skip to content

Commit 78365d7

Browse files
committed
refactored
1 parent b47767b commit 78365d7

File tree

11 files changed

+11
-12
lines changed

11 files changed

+11
-12
lines changed

example_conv.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
from network import Network
2-
from fc_layer import FCLayer
3-
from conv_layer import ConvLayer
4-
from activation_layer import ActivationLayer
5-
from losses import *
6-
from activations import *
1+
from network import *
72
import numpy as np
83

94
# training data

example_xor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
from network import Network
2-
from fc_layer import FCLayer
3-
from activation_layer import ActivationLayer
4-
from losses import *
5-
from activations import *
1+
from network import *
62
import numpy as np
73

84
# training data

network/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from network import Network
2+
from activations import *
3+
from losses import *
4+
from layers import *
File renamed without changes.

network/layers/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from layer import Layer
2+
from fc_layer import FCLayer
3+
from activation_layer import ActivationLayer
4+
from conv_layer import ConvLayer
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)