Skip to content

Commit 6038a63

Browse files
committed
Fix fc mkldnn op
1 parent 82866d4 commit 6038a63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/fluid/operators/fc_mkldnn_op.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class MKLDNNMemory {
115115

116116
template <typename T>
117117
class FCMKLDNNOpKernel : public paddle::framework::OpKernel<T> {
118+
public:
118119
void Compute(const paddle::framework::ExecutionContext& ctx) const override {
119120
PADDLE_ENFORCE(paddle::platform::is_cpu_place(ctx.GetPlace()),
120121
"It must use CPUPlace.");

0 commit comments

Comments
 (0)