From d911c343a2b06b97c3b6088e31659e4a15f198ac Mon Sep 17 00:00:00 2001 From: superjomn Date: Wed, 12 Jun 2019 10:24:22 +0000 Subject: [PATCH] update --- paddle/fluid/lite/kernels/x86/sgd_compute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/lite/kernels/x86/sgd_compute.cc b/paddle/fluid/lite/kernels/x86/sgd_compute.cc index 27261fd14d6..4214fb73ff1 100644 --- a/paddle/fluid/lite/kernels/x86/sgd_compute.cc +++ b/paddle/fluid/lite/kernels/x86/sgd_compute.cc @@ -29,7 +29,7 @@ class SGDCompute : public KernelLite { using param_t = operators::ActivationParam; void Run() override { - auto &context = context_->As(); + auto &context = ctx_->As(); auto &sgd_param = *param_.get_mutable(); CHECK(context.x86_device_context); -- GitLab