The module here https://github.com/southworkscom/CapsNet-CNTK/blob/master/CapsLayer.py has the function
DigitCaps(input, num_capsules, dim_out_vector, routings=3, name='DigitCaps')
Out of which, the num_capsules and dim_out_vector are not used in the function anywhere. Whatever values we set for these two, the function returns the hardcoded (as described in the paper) network.
It would be very convenient if this interface were generalisable.
The module here https://github.com/southworkscom/CapsNet-CNTK/blob/master/CapsLayer.py has the function
DigitCaps(input, num_capsules, dim_out_vector, routings=3, name='DigitCaps')
Out of which, thenum_capsules
anddim_out_vector
are not used in the function anywhere. Whatever values we set for these two, the function returns the hardcoded (as described in the paper) network. It would be very convenient if this interface were generalisable.