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
论文中我看到的FFN是FFN(X) = ReLU(XW1)W2,为什么在代码中的_ffn_layer 中的linear 函数里会有tf.nn.convolution?只有_linear_2d 没有卷积函数 其他的都有
The text was updated successfully, but these errors were encountered:
3D的输入可以看作1 * 1的卷积,实际上都是线性映射,只是使用convolution避免过多的reshape操作。
Sorry, something went wrong.
No branches or pull requests
论文中我看到的FFN是FFN(X) = ReLU(XW1)W2,为什么在代码中的_ffn_layer 中的linear 函数里会有tf.nn.convolution?只有_linear_2d 没有卷积函数 其他的都有
The text was updated successfully, but these errors were encountered: