dmx.compressor.utils.benchmark.compute_error
- dmx.compressor.utils.benchmark.compute_error(out1: Tensor | List[Any] | Tuple[Any] | Dict[str, Any], out2: Tensor | List[Any] | Tuple[Any] | Dict[str, Any])
Computes the MSE error and the maximum delta between the tensors in the given pair of tensor collections
- Parameters:
out1 (Union[torch.Tensor, List[Any], Tuple[Any], Dict[str, Any]])
out2 (Union[torch.Tensor, List[Any], Tuple[Any], Dict[str, Any]])