Skip to content

Commit

Permalink
Fix detection_map_op for multi-device. (#8845)
Browse files Browse the repository at this point in the history
  • Loading branch information
qingqing01 committed Mar 8, 2018
1 parent 7f00716 commit ded34b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/operators/detection_map_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class DetectionMAPOp : public framework::OperatorWithKernel {
return framework::OpKernelType(
framework::ToDataType(
ctx.Input<framework::Tensor>("DetectRes")->type()),
ctx.device_context());
platform::CPUPlace());
}
};

Expand Down

0 comments on commit ded34b2

Please sign in to comment.