提交 43e8274a 编写于 作者: S superjomn

merge upstream

...@@ -49,8 +49,8 @@ class SGDCompute : public KernelLite<TARGET(kX86), PRECISION(kFloat)> { ...@@ -49,8 +49,8 @@ class SGDCompute : public KernelLite<TARGET(kX86), PRECISION(kFloat)> {
const T *param_data = param->template data<T>(); const T *param_data = param->template data<T>();
const T *grad_data = grad->template data<T>(); const T *grad_data = grad->template data<T>();
int64_t rows_idx = 0; int64_t rows_idx = 0;
T *out_data = T *out_data = param_out->template mutable_data<T>(
param_out->mutable_data<T>(context.x86_device_context()->GetPlace()); context.x86_device_context()->GetPlace());
auto sgd = auto sgd =
paddle::operators::jit::KernelFuncs<paddle::operators::jit::SgdTuple<T>, paddle::operators::jit::KernelFuncs<paddle::operators::jit::SgdTuple<T>,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册