MCPcopy Create free account
hub / github.com/InnerPeace-Wu/CapsNet-tensorflow / _dynamic_routing

Method _dynamic_routing

code/CapsNet.py:73–117  ·  view source on GitHub ↗

dynamic routing between capsules :arg primary_caps: primary capsules with shape [None, 1, 32 x 6 x 6, 1, 8] layer_index: index of the current capsule layer, i.e. the input layer for routing :return digit_caps: the output of digit capsule l

(self, primary_caps, layer_index)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_build_netMethod · 0.95

Calls 2

_dynamic_routingV1Method · 0.95
_dynamic_routingV2Method · 0.95

Tested by

no test coverage detected