diff options
author | li-roy <8813817+li-roy@users.noreply.github.com> | 2018-03-08 10:15:12 -0800 |
---|---|---|
committer | Edward Z. Yang <ezyang@mit.edu> | 2018-03-08 13:15:12 -0500 |
commit | c16478fe3fb8842119438b8fd79d98c8f50ca688 (patch) | |
tree | 21de48b1d41f13ccc485d79a995c175dcea7113e /docs/Makefile | |
parent | 28b1c94f0f06d4acdff418b1f78db82fec470084 (diff) | |
download | pytorch-c16478fe3fb8842119438b8fd79d98c8f50ca688.tar.gz pytorch-c16478fe3fb8842119438b8fd79d98c8f50ca688.tar.bz2 pytorch-c16478fe3fb8842119438b8fd79d98c8f50ca688.zip |
implement CosineEmbeddingLoss as a native function and add reduce arg (#5447)
forward (new) [1.1905965859768912, 1.160144692985341, 1.1558120870031416]
backward (new) [1.9150976981036365, 1.9792822760064155, 1.8779143309220672]
double backward (new) [3.6898688060464337, 3.5784677929477766, 3.569505032035522]
forward (old) [3.2359962839400396, 3.275224728975445, 3.3409753759624436]
backward (old) [5.668679727939889, 5.722980880062096, 5.585088661056943]
double backward (old) N/A
* implement CosineEmbeddingLoss as a native function and add reduce=True arg to it
* fix flake8
* address comments
* add reference function to tests
* fix flake8
Diffstat (limited to 'docs/Makefile')
0 files changed, 0 insertions, 0 deletions