Skip to main content

iota

Function iota 

Source
pub fn iota<B: Backend, T: Num>(
    shape: impl Into<Shape>,
    dim: usize,
) -> Array<B, T>
Expand description

The indices along dim of each element of shape.