pytorch
cc5c34a0 - Add nn::functional::normalize() to C++ Frontend (#27280)

Commit
5 years ago
Add nn::functional::normalize() to C++ Frontend (#27280) Summary: Addresses https://github.com/pytorch/pytorch/issues/27048 PR Summary: Files Added: _torch/csrc/api/include/torch/nn/options/normalization.h torch/csrc/api/include/torch/nn/functional/normalization.h_ Files Modified: _test/cpp/api/functional.cpp torch/csrc/api/include/torch/nn/functional.h_ --- yf225 : I couldn't find a C++ equivalent of gradcheck(), is there such a function or is it sufficient to call .backward() in the test body? I don't think any solutions are checked for the Python tests. Pull Request resolved: https://github.com/pytorch/pytorch/pull/27280 Differential Revision: D17902109 Pulled By: yf225 fbshipit-source-id: 1bce1a88103d0f1848633fec90fde95ea8f3d1ed
Author
Parents
Loading