From c3326f181ef1dbf2db2104d1715758298c9a8c26 Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Thu, 30 May 2019 16:24:41 -0700 Subject: [PATCH] Code style --- src/operator/nn/fully_connected-inl.h | 1 - src/operator/nn/fully_connected.cc | 2 -- 2 files changed, 3 deletions(-) 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,