diff options
author | Bastian Rieck <bastian@rieck.me> | 2022-01-19 08:39:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 08:39:04 +0100 |
commit | 263c5842664c1dff4f8e58111d6bddb33927539e (patch) | |
tree | df644f0448d5d3ec6d7e065681ad2161947021f8 /ot/dr.py | |
parent | 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b (diff) |
[MRG] Fix instantiation of `ValFunction` (which raises a warning with PyTorch) (#338)
* Not instantiating `ValFunction`
`ValFunction` should not be instantiated since `autograd` functions are
supposed to only ever use static methods. This solves a warning message
raised by PyTorch.
* Updated release information
* Fixed PR number
Diffstat (limited to 'ot/dr.py')
0 files changed, 0 insertions, 0 deletions