fix ci error in edit_distance_op

add_depthwiseConv_op_gpu
Yibing Liu 7 years ago
parent f3dcd00603
commit fe0ef91a3f

@ -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());

Loading…
Cancel
Save