trunk/18d8d0974472b71069c8a6d50f1262915e63cd20: [dynamo] Preserve torch.full tensor scalar dtype inference (#199433)
- PyTorch 近 90 天出现 2739 次
- PyTorch 近 90 天第 2696 次发版
- 上一次:同一天稍早 · ciflow/trunk/201924
发生了什么
Fixes #198486 Supersedes #198489 . That PR was closed while the issue awaited maintainer direction. A PT2 collaborator has since invited this PR in #198486 . This resubmission contains the same reviewed and tested change. Summary Preserve eager torch.full dtype inference when fill_value is a dynamic Tensor scalar. Infer from the scalar's Python number category when dtype is omitted or explicitly None . Preserve an e…
摘要按规则整理自下方来源原文