SIGN IN SIGN UP

aten.full.default (#3013)

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

We implement [`aten.full.default`](https://pytorch.org/docs/stable/generated/torch.full.html) which has the following signature.
```
func: full(SymInt[] size, Scalar fill_value, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
```

In order to bypass graph build error, we simply create null value for the following arg types:
- torch.device
- torch.dtype
- torch.layout

since they don't have any effect to our operator implementation on Vulkan. (Note that [`torch.layout`](https://pytorch.org/docs/stable/tensor_attributes.html#torch.layout) is a totally different concept from `GPUMemoryLayout` on Vulkan.)

Reviewed By: jorgep31415

Differential Revision: D56049674

fbshipit-source-id: dc2a27b4e702829e077e874ccf697f6c4196756d
W
Wei Lu committed
eb44e887aa3689284f30dba34c1cc22c3828bc8b
Parent: 74576e8
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 4/15/2024, 10:56:54 PM