code: def test_haar_ortho(size):
      haar = HaarTransform()
      eye = torch.eye(size)
      mat = haar(eye)
      assert_equal(eye, mat @ mat.t())
  
imports: import pytest
  import torch
  from pyro.distributions.transforms import HaarTransform
  from tests.common import assert_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_haar_ortho(size) without return types