Skip to content

[atenlib] aten.as_strided operator #447

@BowenBao

Description

@BowenBao
aten.as_strided as_strided(Tensor(a) self, SymInt[] size, SymInt[] stride, SymInt? storage_offset=None) -> Tensor(a)

Briefly talked about this with @justinchuby. This is an interesting operator and it's not handled well by torchscript based exporter, since this function’s behavior depends on the implementation of a tensor’s storage. However, it is unclear if things have become simpler under the context of Core ATen IR (void of mutations).

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: torchlibRelated to the torch/aten function lib in development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions