pub fn try_transpose<Op: PrimitiveOp>(
linear: &LinearFragment<Op>,
ctx: &mut Op::ADContext,
) -> ADRuleResult<LinearFragment<Op>>where
Op::InputKey: ADKey,Expand description
Fallible form of transpose.
This returns [chainrules::ADRuleError] when a primitive cannot emit a
transpose rule.