Skip to main content

broadcast_in_dim

Function broadcast_in_dim 

Source
pub fn broadcast_in_dim<B: Backend, T: Element>(
    x: &Array<B, T>,
    shape: impl Into<Shape>,
    dims: &[usize],
) -> Array<B, T>
Expand description

Broadcasts to shape: dimension i of x becomes dimension dims[i].