Skip to content

Commit 5361804

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ggml/src/ggml-cann/aclnn_ops.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,10 +2313,11 @@ 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-
* @details This function extracts slices from the source tensor (`src_buffer`), index tensor (`index`),
2317-
* and destination tensor (`dst`), and performs an embedding operation on them. The embedding
2318-
* operation is applied by iterating over the last two dimensions of the source tensor, creating
2319-
* the necessary tensors for the source, index, and output, and executing the embedding operation.
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
2320+
* tensors for the source, index, and output, and executing the embedding operation.
23202321
*
23212322
* @param ctx The context for CANN backend operations.
23222323
* @param src_buffer The source buffer holding the data for the source tensor.

0 commit comments

Comments
 (0)