pub trait ContractAllWithFirst<TIM, TJN, TKO, TLP> {
type Output;
// Required method
fn contract_all_with_first(
self,
tensor_rank_2_a: TIM,
tensor_rank_2_b: TJN,
tensor_rank_2_c: TKO,
tensor_rank_2_d: TLP,
) -> Self::Output;
}Expand description
Transforms all four indices of a rank-4 tensor.
Contracts each index of self with the first index of a corresponding rank-2 tensor.