pub fn broadcast_in_dim<B: Backend, T: Element>( x: &Array<B, T>, shape: impl Into<Shape>, dims: &[usize], ) -> Array<B, T>
Broadcasts to shape: dimension i of x becomes dimension dims[i].
shape
i
x
dims[i]