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