diff options
author | Theo <theo.leffyr@gmail.com> | 2019-02-12 09:35:23 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-02-12 09:38:48 -0800 |
commit | 3618b52c748bbecb6ab1e5cee016bdcf9b71a2d0 (patch) | |
tree | 3d0f2cbbc9a2a775da2e01fdc86548c57d829967 /.circleci | |
parent | 40528efeac1724a960c633ff98ade7513dfcf461 (diff) | |
download | pytorch-3618b52c748bbecb6ab1e5cee016bdcf9b71a2d0.tar.gz pytorch-3618b52c748bbecb6ab1e5cee016bdcf9b71a2d0.tar.bz2 pytorch-3618b52c748bbecb6ab1e5cee016bdcf9b71a2d0.zip |
Add module and name to func created with _jit_internal.boolean_dispatch (#16922)
Summary:
The use case for making this PR is the following bug :
(with F = torch.nn.functional)
`F.max_pool2d.__module__` is `torch._jit_internal`
`F.max_pool2d.__name__` is `fn`
With this PR you get:
`F.max_pool2d.__module__` is `torch.nn.functional`
`F.max_pool2d.__name__` is `max_pool2d`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16922
Differential Revision: D14020053
Pulled By: driazati
fbshipit-source-id: c109c1f04640f3b2b69bc4790b16fef7714025dd
Diffstat (limited to '.circleci')
0 files changed, 0 insertions, 0 deletions