We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axis 3
https://github.com/for-research/cnn-text-classification-tf/blob/18762b459e21d9c70e5c242f8d43fc4e6db37a0d/text_cnn.py#L57
''' self.h_pool = tf.concat(pooled_outputs, 3) '''
Why it concats in axis = 3? Actually, I think it should concat in axis = 1 , which is the direction of the text length.
axis = 3
axis = 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/for-research/cnn-text-classification-tf/blob/18762b459e21d9c70e5c242f8d43fc4e6db37a0d/text_cnn.py#L57
'''
self.h_pool = tf.concat(pooled_outputs, 3)
'''
Why it concats in
axis = 3
? Actually, I think it should concat inaxis = 1
, which is the direction of the text length.The text was updated successfully, but these errors were encountered: