Skip to content

Commit b0eca2c

Browse files
author
noemotiovon
committed
[CANN]code style adjustment
Signed-off-by: noemotiovon <[email protected]>
1 parent 5361804 commit b0eca2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ggml/src/ggml-cann/aclnn_ops.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,10 +2313,10 @@ void ggml_cann_softmax(ggml_backend_cann_context& ctx, ggml_tensor* dst) {
23132313
/**
23142314
* @brief Performs embedding operation on a 4D tensor using the CANN backend.
23152315
*
2316-
* This function extracts slices from the source tensor (`src_buffer`),
2317-
* index tensor (`index`), and destination tensor (`dst`), and performs an
2318-
* embedding operation on them. The embedding operation is applied by iterating
2319-
* over the last two dimensions of the source tensor, creating the necessary
2316+
* This function extracts slices from the source tensor (`src_buffer`),
2317+
* index tensor (`index`), and destination tensor (`dst`), and performs an
2318+
* embedding operation on them. The embedding operation is applied by iterating
2319+
* over the last two dimensions of the source tensor, creating the necessary
23202320
* tensors for the source, index, and output, and executing the embedding operation.
23212321
*
23222322
* @param ctx The context for CANN backend operations.

0 commit comments

Comments
 (0)