Skip to content

Sequential.Add #730

Closed
Closed

Description

@githubxiaoa

I tried to write resnet myself, and this problem occurred:
QQ20220915-230535@2x

Activity

  1. NiklasGustafsson commented on Sep 15, 2022

    @NiklasGustafsson

    Ah... 'Add' is internal, since it's not part of the PT API. You can rewrite MakeLayer to take a list which you then turn into a Sequential at the very end. Or wait for the next release.

  2. NiklasGustafsson commented on Sep 15, 2022

    @NiklasGustafsson

    The PT API has an 'append,' which we're missing. I'll add that.

  3. linked a pull request that will close this issueBug fixes and API changes. #731on Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions