corewise_relerr#

t3toolbox.corewise.corewise_relerr(X_true, X)#
def corewise_relerr(
        X_true,  # reference tree of ints/floats/arrays
        X,       # same tree structure as X_true
) -> NDArray:  # ||X_true - X|| / ||X_true||, a scalar
Return type:

NDArray