Skip to content

Commit d679931

Browse files
committed
Add reference
1 parent 5428618 commit d679931

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: models.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
from common.tf_utils import get_optimizer
1111

1212

13+
"""Reference
14+
Caps layer codes implemented in -
15+
https://github.com/naturomics/CapsNet-Tensorflow/blob/master/capsNet.py
16+
"""
1317
class BaseModel:
1418
def __init__(self, args):
1519
self.log = tf.logging
@@ -194,9 +198,6 @@ def caps_layer(x,
194198
is_routing,
195199
layer_type
196200
):
197-
"""Caps layer codes implemented in -
198-
https://github.com/naturomics/CapsNet-Tensorflow/blob/master/capsNet.py
199-
"""
200201
assert layer_type in ['conv', 'fc']
201202
# PrimaryCaps for conv
202203
# DigitCaps for fc

0 commit comments

Comments
 (0)