Skip to content

torch.lerp and torch._foreach_lerp should support uint8 inputs (for vision), int16 (for audio), int32/int64 (for generality) without (up)casting to float for and/or dtype argument  #54389

@vadimkantorov

Description

@vadimkantorov

The common usecase: blend two uint8 images or int16 audios

Metadata

Metadata

Assignees

No one assigned

    Labels

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