| /*! | |
| * Copyright (c) 2015 by Contributors | |
| * \file dropout.cc | |
| * \brief | |
| * \author Bing Xu | |
| */ | |
| #include "./dropout-inl.h" | |
| namespace mxnet { | |
| namespace op { | |
| template<> | |
| Operator *CreateOp<gpu>(DropoutParam param, int dtype) { | |
| Operator *op = NULL; | |
| MSHADOW_REAL_TYPE_SWITCH(dtype, DType, { | |
| op = new DropoutOp<gpu, DType>(param); | |
| }); | |
| return op; | |
| } | |
| } // namespace op | |
| } // namespace mxnet | |