-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
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
明确bert中 layer的shape #492
Comments
是根据batch中的max确定的、为啥一定要明确? |
因为想对maxlen层处理,比如concatenate(axis=1) |
如果你的“明确”是指固定,那么可以在 |
是的,就是固定,感谢苏神的回复!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提问时请尽可能提供如下信息:
基本信息
核心代码
输出信息
自我尝试
需求:希望明确shape,主要是maxlen,形如Tensor("bertTransformer-5-FeedForward-Norm/truediv:0", shape=(?, 300, 384), dtype=float32)
The text was updated successfully, but these errors were encountered: