naturomics / CapsNet-Tensorflow

A Tensorflow implementation of CapsNet(Capsules Net) in paper Dynamic Routing Between Capsules
Apache License 2.0
3.8k stars 1.17k forks source link

'apply' method is not defined in 'capsLayer.py' #23

Closed liyu95 closed 6 years ago

liyu95 commented 6 years ago

In 'capsLayer.py', the 'fully_connected' function uses 'CapseLayer' class to build a fully connected layer. It returns 'layer.apply(inputs)'. However, I did not find the 'apply' method definition in the class. Are you going to define it? Or it is just my problem that I did not find the definition? Could you please tell me where it is defined?