Also, it appears that tvm.runtime.ndarray
only has one method for comparing ndarrays, same_as, and same_as checks object identity equality, not value equality.
If the output of running a relay mod is a tvm.runtime.ndarray
, and the labels are also a tvm.runtime.ndarray
, it seems that the user will not have a good way to compare the output to the labels without converting the ndarrays to numpy by using the as numpy method.