Skip to main content

outer_product_storage_native

Function outer_product_storage_native 

Source
pub fn outer_product_storage_native(
    lhs: &Storage,
    lhs_dims: &[usize],
    rhs: &Storage,
    rhs_dims: &[usize],
    _result_dims: &[usize],
) -> Result<Storage, BridgeError>
Expand description

Outer-product storages via native tensors.

ยงErrors

Returns a BridgeError when either storage-to-native conversion, the outer product, or the native-to-storage conversion fails.