blob: ea9eb7dfa200951d2d7976273a95cde90ac41e9a [file] [log] [blame]
/*!
* 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