- 22 1月, 2018 1 次提交
-
-
由 Yang Yu 提交于
* also div num_samples when return cost of nce_op
-
- 26 12月, 2017 1 次提交
-
-
由 Luo Tao 提交于
-
- 12 12月, 2017 1 次提交
-
-
由 QI JUN 提交于
There are mainly following fixes: - take `DeviceContext` as the template parameter of math functors and OpKernel instead of `Place` - remove `eigen_device` interface in base class `DeviceContext` - remove `GetEigenDevice` interface in `ExecutionContext` and base class `DeviceContext` - remove unused `platform::EigenDeviceConverter` - rename `REGISTER_OP_GPU_KERNEL` to `REGISTER_OP_CUDA_KERNEL` - rename `USE_GPU_ONLY_OP` to `USE_CUDA_ONLY_OP`
-
- 06 12月, 2017 1 次提交
-
-
由 wanghaoshuang 提交于
-
- 29 11月, 2017 1 次提交
-
-
由 wanghaoshuang 提交于
-
- 28 11月, 2017 3 次提交
-
-
由 wanghaoshuang 提交于
-
由 wanghaoshuang 提交于
-
由 wanghaoshuang 提交于
1. Remove checking for num_neg_samples. 2. Fix dims of Output(Cost) and Input(Bias). 3. Renamed num_sampled_classes to num_neg_samples. 4. Add TODO for add more distribution sampler. 5. Init grad_data of bias by zero. 6. Refine comments. 7. Register a kernel for type double.
-
- 16 11月, 2017 1 次提交
-
-
由 wanghaoshuang 提交于
-
- 08 11月, 2017 1 次提交
-
-
由 wanghaoshuang 提交于
1. Add nce forward and backward kernel for CPU
-