code: def signature_str_pyi(self, *, skip_outputs: bool = False) -> str:
      args = self.arguments(skip_outputs=skip_outputs)
      schema_formals: List[str] = [
          a.argument_str_pyi(method=self.method, deprecated=True)
          for a in args
      ]
      positional_argc = len(self.input_args)
      if len(schema_formals) > positional_argc:
          schema_formals.insert(positional_argc, "*")
  
      returns_str = returns_str_pyi(self)
      return f'def {self.name}({", ".join(schema_formals)}) -> {returns_str}: ...'
  
imports: from dataclasses import dataclass
  from typing import Dict, List, Optional, Sequence, Set, Tuple, Union
  from torchgen.api import cpp
  from torchgen.api.types import Binding, CppSignature, CppSignatureGroup
  from torchgen.gen import pythonify_default
  from torchgen.model import Argument, BaseTy, BaseType, FunctionSchema, ListType, NativeFunction, OptionalType, Return, Type, Variant
label_desc: Use image node_id 3 for calling the PythonSignatureDeprecated obj's underlying member method code with example usage: obj.signature_str_pyi() and returns: str, self, str, str, str, returns_str, str