pub fn scale_native_tensor(
tensor: &Tensor,
scalar: &BackendScalar,
) -> Result<Tensor, BridgeError>Expand description
Multiply a native tensor by a dynamic scalar.
ยงErrors
Returns an error when the native scaling fails (a backend or dtype mismatch failure).