code: def test_index_hash_op(self):
      data = np.random.randint(low=0, high=1000, size=(4, 4, 4))
  
      def _index_hash_ref(X):
          ref_op = core.CreateOperator(
              "IndexHash", ["X"], ["Y"], seed=0, modulo=100
          )
          workspace.FeedBlob("X", X)
          workspace.RunOperatorOnce(ref_op)
          return workspace.FetchBlob("Y")
  
      expected_output = _index_hash_ref(data)
      actual_output = torch.ops._caffe2.IndexHash(
          torch.tensor(data), seed=0, modulo=100
      )
  
      assert_allclose(expected_output, actual_output.cpu())
  
imports: import struct
  import unittest
  import caffe2.python.hypothesis_test_util
  import hypothesis.strategies
  import numpy
  import torch
  from caffe2.python import core, workspace
  from hypothesis import given, settings
  from scipy.stats import norm
  from ._utils import assert_allclose
label_desc: Use image node_id 34 for calling the TorchIntegration obj's underlying member method code with example usage: obj.test_index_hash_op() and returns: workspace