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 – The tensor to be modified in-place.

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