Skip to content

Make Module:: register_module public in the c++ frontend? #23140

@xz-liu

Description

@xz-liu

🚀 Feature

Make protected functions public in torch::nn::Module

Motivation

In python they are public methods

Pitch

As described in the title

Alternatives

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNot as big of a feature, but technically not a bug. Should be easy to fixmodule: cppRelated to C++ APItriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions