Files
pytorch/caffe2/python/operator_test
Alyssa Wang 34f950c800 Create C2 operator to replace values in embedding table (#22279)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/22279

This new operator is used for embedding table weight re-init. After we get the evicted indices, they will be the rows need reseting in embedding table. Then we can create a 1d tensor with default values, and apply this operator to copy the tensor to all evicted rows in embedding table

Will add gradient op in next diff

Reviewed By: itomatik

Differential Revision: D15709866

fbshipit-source-id: 2297b70a7326591524d0be09c73a588da245cc08
2019-07-02 15:26:22 -07:00
..
2018-09-18 10:42:10 -07:00
2018-09-18 10:42:10 -07:00
2019-03-06 11:36:44 -08:00
2018-09-18 10:42:10 -07:00
2018-09-18 10:42:10 -07:00
2018-09-18 10:42:10 -07:00
2018-09-18 10:42:10 -07:00
2018-10-23 17:03:47 -07:00
2019-05-08 17:57:33 -07:00
2018-09-19 10:09:28 -07:00
2018-09-19 10:09:28 -07:00
2018-09-19 10:09:28 -07:00