pub fn scale_storage_native(
storage: &Storage,
logical_dims: &[usize],
scalar: &BackendScalar,
) -> Result<Storage, BridgeError>Expand description
Scale storage by a scalar via native tensors.
ยงErrors
Returns an error when the native storage scaling fails (a dtype mismatch or backend failure).