Open
Description
🐛 Describe the bug
some_scalar.to<float>()
is legal for c10::Scalar, but not ExecuTorch's Scalar. https://github.com/pytorch/executorch/blob/main/runtime/core/portable_type/scalar.h#L26 says it is a "source-compatible subset" of c10::Scalar.
Versions
main
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To triage
Status
No status