docstr: Different functions passed in should lead to different types
docstr_tok: ["Different","functions","passed","in","should","lead","to","different","types"]
code: def test_python_function_attribute_different(self):
      """
      Different functions passed in should lead to different types
      """
  
      def fn1(x):
          return x + x
  
      def fn2(x):
          return x - x
  
      class M(torch.nn.Module):
          def __init__(self, fn):
              super().__init__()
              self.fn = fn
  
          def forward(self, x):
              return self.fn(x)
  
      fn1_mod = M(fn1)
      fn2_mod = M(fn2)
  
      self.assertDifferentType(fn1_mod, fn2_mod)
  
imports: import os
  import sys
  import io
  import torch
  from torch.testing._internal.jit_utils import JitTestCase
  from torch.testing._internal.common_utils import suppress_warnings
label_desc: Use image node_id 17 for calling the TestTypeSharing obj's underlying member method code with example usage: obj.test_python_function_attribute_different() and returns: unknown, unknown, self