diff --git a/src/ops/transpose_op.cc b/src/ops/transpose_op.cc index 21ef0c3f..04209735 100644 --- a/src/ops/transpose_op.cc +++ b/src/ops/transpose_op.cc @@ -14,11 +14,6 @@ namespace jittor { static auto make_transpose = get_op_info("transpose") .get_constructor(); -#ifdef HAS_CUDA -static auto make_reshape = get_op_info("reshape") - .get_constructor(); -#endif - TransposeOp::TransposeOp(Var* x, NanoVector axes_) : x(x), axes(axes_) { int i=0; for (; i