check to_copy args in vulkan_partitioner (#6215)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/6215 in exir dialect, to_copy doesn't have dtype arg and it is inferred from the dtype of the output tensor. The args will be of length 1 with the sole arg being the input tensor. Thus the previous check always returns False as args is never > 1. Reviewed By: SS-JIA Differential Revision: D64267104 fbshipit-source-id: 62267ecae167aef7ecc415bf83f1fb024d66244f
N
Nathanael See committed
708c6b6fe2d994416f8a2c056650268144c2ec93
Parent: 5c3439d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/15/2024, 6:43:40 PM