Skip to content

Commit

Permalink
delete notes
Browse files Browse the repository at this point in the history
  • Loading branch information
snknitin committed Apr 26, 2018
1 parent 91891a2 commit c72c79a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Code/model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,7 @@ def build_discriminator(self):
#
# digitcaps are here
#
"""
NOTE: My approach is a simplified version of digitcaps i.e. without expanding dimensions into
[None, 1, input_n_vectors, input_dim_capsule (feature maps)]
and tiling it into [None, num_capsule, input_n_vectors, input_dim_capsule (feature maps)].
Instead I replace it with ordinary Keras Dense layers as weight holders in the following lines.
ANY CORRECTIONS ARE APPRECIATED IN THIS PART, PLEASE SUBMIT PULL REQUESTS!
"""

x = Flatten()(x)
# capsule (i) in a lower-level layer needs to decide how to send its output vector to higher-level capsules (j)
# it makes this decision by changing scalar weight (c=coupling coefficient) that will multiply its output vector and then be treated as input to a higher-level capsule
Expand Down

0 comments on commit c72c79a

Please sign in to comment.