code: def test_in1d_ravel(self, kind):
      # Test that in1d ravels its input arrays. This is not documented
      # behavior however. The test is to ensure consistentency.
      a = np.arange(6).reshape(2, 3)
      b = np.arange(3, 9).reshape(3, 2)
      long_b = np.arange(3, 63).reshape(30, 2)
      ec = np.array([False, False, False, True, True, True])
  
      assert_array_equal(in1d(a, b, assume_unique=True, kind=kind), ec)
      assert_array_equal(in1d(a, b, assume_unique=False, kind=kind), ec)
      assert_array_equal(
          in1d(a, long_b, assume_unique=True, kind=kind), ec
      )
      assert_array_equal(
          in1d(a, long_b, assume_unique=False, kind=kind), ec
      )
  
imports: from unittest import skipIf
  import numpy
  from pytest import raises
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, subtest, TEST_WITH_TORCHDYNAMO, TestCase, xpassIfTorchDynamo
label_desc: Use image node_id 12 for calling the TestSetOps obj's underlying member method code with example usage: obj.test_in1d_ravel(kind) without return types