Updated ``preds`` and ``target`` tensors which contain no ``Nan`` Raises: ValueError: If ``nan_strategy`` is not from ``['replace', 'drop']``. ValueError: If ``nan_strategy = replace`` and ``nan_replace_value`` is not of a type ``int`` or ``float``. r