Skip to main content

dynamic_index_in_dim

Function dynamic_index_in_dim 

Source
pub fn dynamic_index_in_dim<B: Backend, T: Element, I: Int>(
    x: &Array<B, T>,
    index: Scalar<B, I>,
    axis: usize,
    keepdims: bool,
) -> Array<B, T>
Expand description

Element index (a run-time index) along axis, dropping the axis unless keepdims.