We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5428618 commit d679931Copy full SHA for d679931
models.py
@@ -10,6 +10,10 @@
10
from common.tf_utils import get_optimizer
11
12
13
+"""Reference
14
+ Caps layer codes implemented in -
15
+ https://github.com/naturomics/CapsNet-Tensorflow/blob/master/capsNet.py
16
+"""
17
class BaseModel:
18
def __init__(self, args):
19
self.log = tf.logging
@@ -194,9 +198,6 @@ def caps_layer(x,
194
198
is_routing,
195
199
layer_type
196
200
):
197
- """Caps layer codes implemented in -
- https://github.com/naturomics/CapsNet-Tensorflow/blob/master/capsNet.py
- """
201
assert layer_type in ['conv', 'fc']
202
# PrimaryCaps for conv
203
# DigitCaps for fc
0 commit comments