提交 95f1764b 编写于 作者: Y Yao,kun

Codestyle

上级 2cd8c947
......@@ -39,8 +39,9 @@ class DropoutOp
operators::DropoutKernel<DeviceType, T>>(
type, inputs, outputs, attrs, scope) {}
//using framework::OperatorWithKernel<DeviceType, DropoutParam,
// operators::DropoutKernel<DeviceType, T>>;
// using framework::OperatorWithKernel<DeviceType, DropoutParam,
// operators::DropoutKernel<DeviceType,
// T>>;
void InferShape() const override;
protected:
......
......@@ -39,7 +39,7 @@ class Im2SequenceOp : public framework::OperatorWithKernel<
operators::Im2SequenceKernel<DeviceType, T>>(type, inputs, outputs,
attrs, scope) {}
//using framework::OperatorWithKernel<
// using framework::OperatorWithKernel<
// DeviceType, Im2SequenceParam,
// operators::Im2SequenceKernel<DeviceType, T>>::OperatorWithKernel;
void InferShape() const override;
......
......@@ -26,7 +26,7 @@ template <typename DeviceType, typename T>
class DropoutKernel : public framework::OpKernelBase<DeviceType, DropoutParam> {
public:
void Compute(const DropoutParam& param) const;
bool Init(DropoutParam *para);
bool Init(DropoutParam* para);
};
} // namespace operators
} // namespace paddle_mobile
......
......@@ -31,7 +31,7 @@ template <typename DeviceType, typename T>
class Im2SequenceKernel
: public framework::OpKernelBase<DeviceType, Im2SequenceParam> {
public:
void Compute(const Im2SequenceParam &param) const;
void Compute(const Im2SequenceParam& param) const;
bool Init(Im2SequenceParam* para);
};
} // namespace operators
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册