Skip to content

[PT_BREAK] as_strided will now take & return const Tensor& #2910

@swolchok

Description

@swolchok

See pytorch/pytorch#55875 .

I think

at::Tensor& AtenXlaType::as_strided_(at::Tensor& self, at::IntArrayRef size,
just needs to take & return const Tensor& after the patch, similar to the resize change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions