Fix default argument of parse_ir stub (#98397)

It's `false` in pybind code but not provided to stub 2987bc0758/torch/csrc/jit/python/init.cpp (L1625)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/98397
Approved by: https://github.com/mikaylagawarecki
This commit is contained in:
Takeshi Watanabe
2023-04-05 20:46:16 +00:00
committed by PyTorch MergeBot
parent 3c8e9e38a1
commit 3d36f6f18d

View File

@ -426,7 +426,7 @@ def merge_type_from_type_comment(
type_annotation_decl: Decl,
is_method: _bool,
) -> Decl: ...
def parse_ir(input: str, parse_tensor_constants: _bool) -> Graph: ...
def parse_ir(input: str, parse_tensor_constants: _bool = False) -> Graph: ...
def parse_schema(schema: str) -> FunctionSchema: ...
def get_device(input: Tensor) -> _int: ...
def _resolve_type_from_object(