diff --git a/src/operator/subgraph/dnnl/dnnl_batch_dot.cc b/src/operator/subgraph/dnnl/dnnl_batch_dot.cc index d48f5171c6cf..612629da6ccf 100644 --- a/src/operator/subgraph/dnnl/dnnl_batch_dot.cc +++ b/src/operator/subgraph/dnnl/dnnl_batch_dot.cc @@ -173,4 +173,4 @@ NNVM_REGISTER_OP(_sg_onednn_batch_dot) } // namespace op } // namespace mxnet -#endif // if MXNET_USE_ONEDNN == 1 \ No newline at end of file +#endif // if MXNET_USE_ONEDNN == 1 diff --git a/src/operator/subgraph/dnnl/dnnl_batch_dot_property.h b/src/operator/subgraph/dnnl/dnnl_batch_dot_property.h index 3e42f4ad798d..dfb7e05256fd 100644 --- a/src/operator/subgraph/dnnl/dnnl_batch_dot_property.h +++ b/src/operator/subgraph/dnnl/dnnl_batch_dot_property.h @@ -34,7 +34,6 @@ namespace op { class SgDNNLBatchDotSelector : public SubgraphSelector { public: - explicit SgDNNLBatchDotSelector() {} bool Select(const nnvm::Node& n) override { return n.op() && n.op()->name == "batch_dot"; @@ -51,8 +50,6 @@ class SgDNNLBatchDotSelector : public SubgraphSelector { class SgDNNLBatchDotProperty : public SubgraphProperty { public: - SgDNNLBatchDotProperty() {} - static SubgraphPropertyPtr Create() { static const std::string& name = "DNNL Batch Dot optimization pass"; auto property = std::make_shared(); @@ -100,4 +97,4 @@ class SgDNNLBatchDotProperty : public SubgraphProperty { } // namespace mxnet #endif // if MXNET_USE_ONEDNN == 1 -#endif // MXNET_OPERATOR_SUBGRAPH_DNNL_DNNL_BATCH_DOT_PROPERTY_H_ \ No newline at end of file +#endif // MXNET_OPERATOR_SUBGRAPH_DNNL_DNNL_BATCH_DOT_PROPERTY_H_