提交 fe0ef91a 编写于 作者: Y Yibing Liu

fix ci error in edit_distance_op

上级 f3dcd006
...@@ -37,7 +37,7 @@ class EditDistanceOp : public framework::OperatorWithKernel { ...@@ -37,7 +37,7 @@ class EditDistanceOp : public framework::OperatorWithKernel {
} }
protected: protected:
framework::OpKernelType GetActualKernelType( framework::OpKernelType GetExpectedKernelType(
const framework::ExecutionContext &ctx) const override { const framework::ExecutionContext &ctx) const override {
return framework::OpKernelType(framework::proto::DataType::FP32, return framework::OpKernelType(framework::proto::DataType::FP32,
ctx.device_context()); ctx.device_context());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册