Skip to content

Commit b7f144a

Browse files
committed
fix typo
Signed-off-by: noemotiovon <[email protected]>
1 parent 29be7fc commit b7f144a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml/src/ggml-cann/aclnn_ops.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,9 +777,9 @@ void ggml_cann_dup(ggml_backend_cann_context& ctx, ggml_tensor* dst) {
777777
for (int i = 1; i < GGML_MAX_DIMS; i++) {
778778
src_reshape_nb[i] = src_reshape_nb[i - 1] * dst->ne[i - 1];
779779
}
780-
781-
aclTensor* trans_acl_src = ggml_cann_create_tensor(src_trans_buffer,
782-
ggml_cann_type_mapping(src0->type),ggml_type_size(src0->type),
780+
781+
aclTensor* trans_acl_src = ggml_cann_create_tensor(src_trans_buffer,
782+
ggml_cann_type_mapping(src0->type),ggml_type_size(src0->type),
783783
dst->ne, src_reshape_nb, GGML_MAX_DIMS, ACL_FORMAT_ND);
784784
aclTensor* acl_dst = ggml_cann_create_tensor(dst);
785785

0 commit comments

Comments
 (0)