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