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

Update transformer.md #1365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update transformer.md #1365

wants to merge 1 commit into from

Conversation

XihWang
Copy link

@XihWang XihWang commented Jan 2, 2025

在新版d2l代码中已经改用LazyLinear,这种线性层不用输入的通道数,具体可以见d2l源码网址:https://github.com/d2l-ai/d2l-en/blob/master/d2l/torch.py#L1149

若不更改,会报错参数过多

在新版d2l代码中已经改用LazyLinear,这种线性层不用输入的通道数,具体可以见d2l源码网址:https://github.com/d2l-ai/d2l-en/blob/master/d2l/torch.py#L1149

若不更改,会报错参数过多
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

Successfully merging this pull request may close these issues.

1 participant