diff --git a/src/operator/nn/fully_connected-inl.h b/src/operator/nn/fully_connected-inl.h index f9ef3c3af66f..e4bb11f6bc56 100644 --- a/src/operator/nn/fully_connected-inl.h +++ b/src/operator/nn/fully_connected-inl.h @@ -237,7 +237,6 @@ void FullyConnectedGradCompute(const nnvm::NodeAttrs& attrs, } } - } // namespace op } // namespace mxnet namespace std { diff --git a/src/operator/nn/fully_connected.cc b/src/operator/nn/fully_connected.cc index 2145fb70151d..8408ca0d5b76 100644 --- a/src/operator/nn/fully_connected.cc +++ b/src/operator/nn/fully_connected.cc @@ -165,7 +165,6 @@ static bool FullyConnectedType(const nnvm::NodeAttrs& attrs, attrs, in_type, out_type, -1); } - struct FullyConnectedGrad { const char *op_name; std::vector operator()(const nnvm::NodePtr& n, @@ -177,7 +176,6 @@ struct FullyConnectedGrad { } }; - static bool FCStorageType(const nnvm::NodeAttrs& attrs, const int dev_mask, DispatchMode* dispatch_mode,