Skip to content

should we consider adding multiple overloaded [ forward] methods to org.bytedeco.pytorch.Module? #1757

@mullerhai

Description

@mullerhai

Hi, @saudet

Now there’s another issue. During the construction of complex large models, we often need to iterate through the internal layers of the model to call their forward method. However, most of the time, we don’t know or cannot determine the specific type of these layers, and pattern matching can be quite complicated.
But if their base class org.bytedeco.pytorch.Module itself has a forward method, things will become extremely simple. So what I’m trying to say is: should we consider adding multiple overloaded forward methods to org.bytedeco.pytorch.Module?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions