Scalar multiplication for nested tensors (#82265)
This PR enables multiplication of nested tensors with Scalars. This is only relevant on the C++ side, as conversion from Python -> C++ always results in tensors.
It's needed for the scaling part of SDP.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82265
Approved by: https://github.com/drisspg