Skip to content

Commit e840f09

Browse files
committed
remove condition check
1 parent 84d626b commit e840f09

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ggml/src/ggml-cann/ggml-cann.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2576,9 +2576,6 @@ static bool ggml_backend_cann_supports_op(ggml_backend_dev_t dev, const ggml_ten
25762576
return false;
25772577
}
25782578
}
2579-
case GGML_OP_CONV_TRANSPOSE_1D:
2580-
// TODO: ((weightL - 1) * dilationW - padLeft)=1336 should not be larger than 255.
2581-
return (op->src[0]->ne[0] - 1) <= 255;
25822579
case GGML_OP_SCALE:
25832580
float bias;
25842581
memcpy(&bias, (const float *) (op->op_params) + 1, sizeof(float));

0 commit comments

Comments
 (0)