mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: Fix aten.to when input is a tensor constant. In this case, `args_unwrapped` could just be a constant, so not a functional tensor. Test Plan: ``` buck2 run 'fbcode//mode/dev-nosan' fbcode//caffe2/test:test_export -- -r tensor_constant_aten_to ``` Differential Revision: D68984244 Pull Request resolved: https://github.com/pytorch/pytorch/pull/146220 Approved by: https://github.com/JacobSzwejbka |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _fake_tensor_utils.py | ||
| fake_impls.py | ||
| fake_tensor.py | ||
| fake_utils.py | ||
| functional_tensor.py | ||
| meta_utils.py | ||
| schema_check_mode.py | ||