pub fn axpby_storage_native(
lhs: &Storage,
lhs_dims: &[usize],
a: &BackendScalar,
rhs: &Storage,
rhs_dims: &[usize],
b: &BackendScalar,
) -> Result<Storage, BridgeError>Expand description
Compute a * lhs + b * rhs over storages via native tensors.
ยงErrors
Returns a BridgeError when either storage-to-native conversion, the
axpby, or the native-to-storage conversion fails.