diff --git a/paddle/gserver/gradientmachines/RecurrentGradientMachine.h b/paddle/gserver/gradientmachines/RecurrentGradientMachine.h index cc0eda9f13b13fcc715ac0bf337eaa557d782faa..c16fae6d1770e616fdcfabd440624c9be9753c91 100644 --- a/paddle/gserver/gradientmachines/RecurrentGradientMachine.h +++ b/paddle/gserver/gradientmachines/RecurrentGradientMachine.h @@ -503,9 +503,9 @@ private: * sequence in Matrix stored the entire beam search batch's forward pass * results. * - * @param isSeq: a flag indicating whetehr the layer to be output of the + * @param isSeq: a flag indicating whether the layer to be output of the * RecurrentGradientMachine is a sequence or not - * @param outArgs: all of the the returned Arguments of the forward pass + * @param outArgs: all of the returned Arguments of the forward pass * during the generation process. */ void createDataOutlinkSelRowsInfo(bool isSeq, std::vector& outArgs);