From 7edc1d96c6df4a4bf6004823c3dca1197a7686ef Mon Sep 17 00:00:00 2001 From: qijun Date: Fri, 20 Oct 2017 10:48:30 -0700 Subject: [PATCH] fix clang build error --- paddle/operators/dynamic_recurrent_op.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/paddle/operators/dynamic_recurrent_op.cc b/paddle/operators/dynamic_recurrent_op.cc index dce8c8d835..a0b06ac1dc 100644 --- a/paddle/operators/dynamic_recurrent_op.cc +++ b/paddle/operators/dynamic_recurrent_op.cc @@ -358,11 +358,11 @@ LoDTensor* RNNAlgorithm::ArgCache::GetTensor(const framework::Scope& scope, } const std::array RNNAlgorithm::kArgNames{ - rnn::ArgumentName{"step_unit", "step_scopes", "inputs", "outputs", "states", - "ex_states", "initial_states"}, - rnn::ArgumentName{"step_unit", "step_scopes@GRAD", "outputs@GRAD", - "inputs@GRAD", "states", "ex_states", - "initial_states@GRAD"}}; + {rnn::ArgumentName{"step_unit", "step_scopes", "inputs", "outputs", + "states", "ex_states", "initial_states"}, + rnn::ArgumentName{"step_unit", "step_scopes@GRAD", "outputs@GRAD", + "inputs@GRAD", "states", "ex_states", + "initial_states@GRAD"}}}; void DynamicRecurrentOp::Run(const framework::Scope& scope, const platform::DeviceContext& dev_ctx) const { -- GitLab