Capsule-Text-Classification
Capsule-Text-Classification copied to clipboard
Do there exiest primary caps
Hello, I have read you code, but i didn't find primary caps. It seems that after feeding the emdding into the Convolution layer, it then be fed into the convcaps directly. Right?
Er...... the code of capsule layer is in the file keras_util.py. The file model.py includes CNN,RNN and some networks with capsule layer. Maybe you only seen the first function in the model.py.