mrpro.utils.fill_range_

mrpro.utils.fill_range_(tensor: Tensor, dim: int) None[source]

Fill tensor in-place along a specified dimension with increasing integers.

Parameters:
  • tensor (Tensor) – The tensor to be modified in-place.

  • dim (int) – The dimension along which to fill with increasing values.