mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
PyTorch MergeBot
parent
3c8e9e38a1
commit
3d36f6f18d
@ -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(
|
||||
|
Reference in New Issue
Block a user