fn quat_scalar_affine(
a_bh11: Tensor<4>,
b_bh11: Tensor<4>,
q_bhj4: Tensor<4>,
) -> Tensor<4>Expand description
a + b·q for per-head scalars a, b ([batch, nheads, 1, 1]) and a
quaternion tensor q.
fn quat_scalar_affine(
a_bh11: Tensor<4>,
b_bh11: Tensor<4>,
q_bhj4: Tensor<4>,
) -> Tensor<4>a + b·q for per-head scalars a, b ([batch, nheads, 1, 1]) and a
quaternion tensor q.