From 025169f46ade811a3d169918df04c89567528f2a Mon Sep 17 00:00:00 2001 From: Pedro Larroy Date: Mon, 6 May 2019 13:58:46 -0700 Subject: [PATCH] Fix warning --- src/operator/nn/dropout-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operator/nn/dropout-inl.h b/src/operator/nn/dropout-inl.h index a34d2992c8c6..75fa4e20b1de 100644 --- a/src/operator/nn/dropout-inl.h +++ b/src/operator/nn/dropout-inl.h @@ -492,7 +492,7 @@ class DropoutOp { #endif // MXNET_USE_CUDNN_DROPOUT }; // class DropoutOp -static OpStatePtr CreateDropoutState(const nnvm::NodeAttrs &attrs, +inline OpStatePtr CreateDropoutState(const nnvm::NodeAttrs &attrs, const Context ctx, const mxnet::ShapeVector &in_shapes, const std::vector &in_types) {