(t1, t2)
| 7 | import copy |
| 8 | |
| 9 | def assert_same_shape(t1, t2): |
| 10 | for (x, y) in zip(list(t1.shape), list(t2.shape)): |
| 11 | assert(x==y) |
| 12 | |
| 13 | # def print_stats_py(name, tensor): |
| 14 | # print('%s (%s) min = %.2f, mean = %.2f, max = %.2f' % (name, tensor.dtype, np.min(tensor), np.mean(tensor), np.max(tensor))) |
nothing calls this directly
no outgoing calls
no test coverage detected