dataeval.utils.arrays.rescale_array¶ dataeval.utils.arrays.rescale_array(array: numpy.typing.NDArray[_np_dtype]) → numpy.typing.NDArray[_np_dtype]¶ dataeval.utils.arrays.rescale_array(array: torch.Tensor) → torch.Tensor Rescale an array to the range [0, 1]. Parameters:¶ array : NDArray or torch.Tensor¶Input array Returns:¶ Rescaled array in range [0, 1] Return type:¶ NDArray or torch.Tensor Raises:¶ TypeError – If array type is not supported