Thanks to visit codestin.com
Credit goes to docs.rs

tile

Function tile 

Source
pub fn tile<T>(input: &Array<T>, dims: Dim4) -> Array<T>
where T: HasAfEnum,
Expand description

Tile the input array along specified dimension

Tile essentially creates copies of data along each dimension. The number of copies created is provided by the user on per axis basis using Dim4

§Parameters

  • input is the input Array
  • dims is the target(output) dimensions

§Return Values

Tiled input array as per the tiling dimensions provided