Skip to content
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

Bilstm中,数据流动形状有疑问 #30

Open
baketbek opened this issue Nov 21, 2022 · 0 comments
Open

Bilstm中,数据流动形状有疑问 #30

baketbek opened this issue Nov 21, 2022 · 0 comments

Comments

@baketbek
Copy link

states, hidden = self.encoder(embeddings.permute([1, 0, 2]))#[75,64,50],[seq_len, batch, embed_dim]
encoding = torch.cat([states[0], states[-1]], dim=1)#张量拼接[32,512]
对这一段没看懂 能方便加您vx,仔细请教吗 愿意付费

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant