Fix comments for metrics_to_scalars (#8782)
Fix comments for metrics_to_scalars (#8782)

metrics_to_scalars can return non-float values, such as int or complex, depending on the dtype of the tensor.
williamFalcon/pytorch-lightning,williamFalcon/pytorch-lightning