docstr: Make sure that the schema is human readable, ie the mode parameter should read "nearest" instead of being displayed in octal
  aten::__interpolate(Tensor input, int? size=None, float[]? scale_factor=None,
  str mode='nearest', bool? align_corners=None) -> (Tensor):
  Expected a value of type 'Optional[int]' for argument 'size' but instead found type 'Tensor'.
docstr_tok: ["Make","sure","that","the","schema","is","human","readable",",","ie","the","mode","parameter","should","read","``","nearest","''","instead","of","being","displayed","in","octal","aten",":",":__interpolate","(","Tensor","input",",","int","?","size=None",",","float","[","]","?","scale_factor=None",",","str","mode='nearest","'",",","bool","?","align_corners=None",")","-",">","(","Tensor",")",":","Expected","a","value","of","type","'Optional","[","int","]","'","for","argument","'size","'","but","instead","found","type","'Tensor","'","."]
code: def test_schema_human_readable(self):
      """
      Make sure that the schema is human readable, ie the mode parameter should read "nearest" instead of being displayed in octal
      aten::__interpolate(Tensor input, int? size=None, float[]? scale_factor=None,
      str mode='\156\145\141\162\145\163\164', bool? align_corners=None) -> (Tensor):
      Expected a value of type 'Optional[int]' for argument 'size' but instead found type 'Tensor'.
      """
      with self.assertRaisesRegexWithHighlight(
          RuntimeError, "nearest", ""
      ):
  
          @torch.jit.script
          def FooTest(x):
              return torch.nn.functional.interpolate(x, "bad")
  
imports: import io
  import os
  import sys
  import unittest
  import torch
  import torch.nn
  from torch.testing import FileCheck
  from typing import Any
  from torch.testing._internal.jit_utils import JitTestCase, make_global
  import torch.testing._internal.jit_utils
  from torch.testing._internal.common_utils import IS_SANDCASTLE, skipIfTorchDynamo
  from typing import List, Tuple, Iterable, Optional, Dict
label_desc: Use image node_id 9 for calling the TestClassType obj's underlying member method code with example usage: obj.test_schema_human_readable() and returns: torch