Skip to content

Commit 1ae3418

Browse files
parry2403lucasb-eyer
authored andcommitted
added file encoding comment for py 2
1 parent 56b130e commit 1ae3418

File tree

7 files changed

+8
-2
lines changed

7 files changed

+8
-2
lines changed

DeepFried2/init/Ortho.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def init(shape, fan):
1313
# matrices across layers, but we can't have that with the current arch:
1414
#
1515
# From A. Saxe's comment in https://plus.google.com/+SoumithChintala/posts/RZfdrRQWL6u
16-
# > This initialization uses orthogonal matrices, but theres a bit of
17-
# > subtlety when it comes to undercomplete layersbasically you need to
16+
# > This initialization uses orthogonal matrices, but there's a bit of
17+
# > subtlety when it comes to undercomplete layers-basically you need to
1818
# > make sure that the paths from the input layer to output layer, through
1919
# > the bottleneck, are preserved. This is accomplished by reusing parts of
2020
# > the same orthogonal matrices across different layers of the network.

DeepFried2/optimizers/AdaDelta.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from .Optimizer import Optimizer
23
from ..utils import create_param_state_as
34

DeepFried2/optimizers/AdaGrad.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from .Optimizer import Optimizer
23
from ..utils import create_param_state_as
34

DeepFried2/optimizers/Momentum.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from .Optimizer import Optimizer
23
from ..utils import create_param_state_as
34

DeepFried2/optimizers/Nesterov.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from .Optimizer import Optimizer
23
from ..utils import create_param_state_as
34

DeepFried2/optimizers/RMSProp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from .Optimizer import Optimizer
23
from ..utils import create_param_state_as
34

DeepFried2/optimizers/SGD.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from ..optimizers import Optimizer
23

34

0 commit comments

Comments
 (0)