mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Add new dependences for gen_pyi.py (#150391)
As the title stated. When we update some functions in _torch_docs.py or _tensor_docs.py, and execute some commands (like ``python setup.py evolve``) to install the latest version, the description about the function we just changed is not updated. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150391 Approved by: https://github.com/Skylion007, https://github.com/peterbell10
This commit is contained in:
parent
781d28e265
commit
70b34a42c1
|
|
@ -251,6 +251,8 @@ add_custom_command(
|
|||
"${TORCH_ROOT}/aten/src/ATen/native/native_functions.yaml"
|
||||
"${TORCH_ROOT}/aten/src/ATen/native/tags.yaml"
|
||||
"${TORCH_ROOT}/tools/autograd/deprecated.yaml"
|
||||
"${TORCH_ROOT}/torch/_torch_docs.py"
|
||||
"${TORCH_ROOT}/torch/_tensor_docs.py"
|
||||
${pyi_python}
|
||||
${autograd_python}
|
||||
${torchgen_python}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user