pub fn move_bdim(cx: &mut dyn BatchCx, x: &Batched, to: usize) -> Result<Atom>
Returns x with its batch dimension at to, broadcasting it if it is unbatched.
x
to
Returns an error if to is out of range.