docstr: Tensors should hash by identity
docstr_tok: ["Tensors","should","hash","by","identity"]
code: def test_hash_tensor(self):
      """Tensors should hash by identity"""
  
      def fn(t1, t2):
          return hash(t1) == hash(t2)
  
      tensor1 = torch.tensor(1)
      tensor1_clone = torch.tensor(1)
      tensor2 = torch.tensor(2)
  
      self.checkScript(fn, (tensor1, tensor1))
      self.checkScript(fn, (tensor1, tensor1_clone))
      self.checkScript(fn, (tensor1, tensor2))
  
file_path: pytorch/test/jit/test_hash.py
imports: import os
  import sys
  import torch
  from typing import Tuple, List
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 3 for calling the TestHash obj's underlying member method code with example usage: obj.test_hash_tensor() and returns: unknown