parameters: (ts_type : 'torch._C.JitType')
return_statement: return eval(ts_type.annotation_str, _type_eval_globals)
docstring: Convert a TorchScript type to a Python type (including subtypes) via
      eval'ing the annotation_str. _type_eval_globals sets up expressions
      like "List" and "Future" to map to actual types (typing.List and jit.Future)
docstring_summary: Convert a TorchScript type to a Python type (including subtypes) via
      eval'ing the annotation_str. _type_eval_globals sets up expressions
      like "List" and "Future" to map to actual types (typing.List and jit.Future)
docstring_tokens: Convert a TorchScript type to a Python type ( including subtypes ) via eval ing the annotation_str . _type_eval_globals sets up expressions like List and Future to map to actual types ( typing . List and jit . Future )
function: def _torchscript_type_to_python_type(ts_type : 'torch._C.JitType') -> Any:
      """
      Convert a TorchScript type to a Python type (including subtypes) via
      eval'ing the annotation_str. _type_eval_globals sets up expressions
      like "List" and "Future" to map to actual types (typing.List and jit.Future)
      """
      return eval(ts_type.annotation_str, _type_eval_globals)
function_tokens: def _torchscript_type_to_python_type ( ts_type : 'torch._C.JitType' ) -> Any : return eval ( ts_type . annotation_str , _type_eval_globals )