pytorch
f872cf5e - Add %= support in TorchScript (#38983)

Commit
5 years ago
Add %= support in TorchScript (#38983) Summary: Fix https://github.com/pytorch/pytorch/issues/38336 Add %= support in TorchScript. It's now possible to do something like: ```py torch.jit.script def mm(a,b): a %= b return a ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/38983 Differential Revision: D21803523 Pulled By: SplitInfinity fbshipit-source-id: 3437860d06d32e26ca9a5497099148c1f1616c5b
Author
Parents
Loading