Skip to content

Implement repeat and repeat_interleave for data duplication #875

@monniert

Description

@monniert

🚀 Feature

Implement repeat and repeat_interleave functions to duplicate all data structures like Meshes, Textures, etc.

Motivation

Currently, the function to duplicate data is extend which seems (a bit surprisingly) to follow the repeat_interleave's pytorch convention. However in many other use cases, one would like to duplicate data using the other repeat convention

Pitch

Concretely, this amounts to renaming extend as repeat_interleave and create a new duplication function called repeat for all data structures

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions