Skip to content

Devirtualize numel #27291

@ezyang

Description

@ezyang

In #27274 @ljk53 observed that numel is being called a lot. To me, this was quite surprising, as I expected numel to be devirtualized. But it's in native_functions.yaml, which means it is not devirtualized. We should devirtualize it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNot as big of a feature, but technically not a bug. Should be easy to fixtriagedThis 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