blob: 93f78c2e733dccd5b5ba0bc8cf219f31fbb73f7b [file] [log] [blame]
/*!
* Copyright (c) 2015 by Contributors
* \file swapaxis.cu
* \brief
* \author Ming Zhang
*/
#include "./swapaxis-inl.h"
namespace mxnet {
namespace op {
template<>
Operator *CreateOp<gpu>(SwapAxisParam param, int dtype) {
Operator *op = NULL;
MSHADOW_REAL_TYPE_SWITCH(dtype, DType, {
op = new SwapAxisOp<gpu, DType>(param);
});
return op;
}
} // namespace op
} // namespace mxnet