Standardized conversion of torch tensors and numpy arrays for logging. Keyword arguments are forwarded to numpy.array2string.
tensor (Tensor | ndarray) –
str