SIGN IN SIGN UP

[ET-VK] Allow clone op to transfer between memory layouts and storage types (#6607)

Pull Request resolved: https://github.com/pytorch/executorch/pull/6596

## Changes

As title. Extend the functionality of the `aten.clone` operator to allow transitioning the storage type and memory layout between the input to the output tensor.

## Context

This functionality will be used to transition input tensors to the optimal storage type and memory layout before entering the execution of an op. The transition nodes will be added by a memory metadata tagging pass that will be introduced in a subsequent diff.
ghstack-source-id: 251229412
@exported-using-ghexport

Differential Revision: [D65277710](https://our.internmc.facebook.com/intern/diff/D65277710/)

Co-authored-by: Stephen Jia <ssjia@meta.com>
P
pytorchbot committed
f0af4660e4c71be04be7184892f34e638d4643d1
Parent: 27eac48
Committed by GitHub <noreply@github.com> on 11/1/2024, 3:00:20 AM