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 a BridgeError when the storage-to-native conversion, the
scaling, or the native-to-storage conversion fails.