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

refactor: Un-nest nn.Sequential in ResidualBlock.hidden_layer #133

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

Commits on Aug 29, 2024

  1. refactor: Unnest nn.Sequential for simpler handling

    The original hidden_layer in ResidualBlock consists of a nn.Linear and a nn.SiLU. Sperating them will affect nothing, but make the layer structure consistent with other child nodes output_layer and residual_layer
    TeddyHuang-00 committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    271aecf View commit details
    Browse the repository at this point in the history