@@ -109,9 +109,9 @@ void ggml_cann_repeat(ggml_backend_cann_context& ctx, ggml_tensor* dst) {
109
109
* @brief Adds two tensors element-wise and stores the result in a destination
110
110
* tensor.
111
111
*
112
- * This function performs the operation:
112
+ * This function performs the operation:
113
113
* \f[
114
- * dst = acl\_src0 + alpha \times acl\_src1
114
+ * dst = acl\_src0 + alpha \times acl\_src1
115
115
* \f]
116
116
* where alpha is a scalar value and defaults to 1.0f.
117
117
*
@@ -250,9 +250,9 @@ void ggml_cann_concat(ggml_backend_cann_context& ctx, ggml_tensor* dst) {
250
250
* @brief Creates a tensor with values starting from `start`, incremented by
251
251
* `step`, and ending before `stop`.
252
252
*
253
- * This function performs the operation:
253
+ * This function performs the operation:
254
254
* \f[
255
- * \text {out }_{i+1}=\text {out }_i+\text {step}
255
+ * \text {out }_{i+1}=\text {out }_i+\text {step}
256
256
* \f]
257
257
* the range is [start, stop).
258
258
*
@@ -1568,7 +1568,7 @@ static void aclnn_mul(ggml_backend_cann_context& ctx,
1568
1568
1569
1569
/* *
1570
1570
* @brief Applies element-wise cosine function to the elements of a tensor.
1571
- *
1571
+ *
1572
1572
* This function computes the cosine of each element in the source tensor `acl_src`
1573
1573
* and stores the result in the destination tensor `acl_dst`.
1574
1574
* The operation is defined as:
@@ -1598,7 +1598,7 @@ static void aclnn_cos(ggml_backend_cann_context& ctx, aclTensor* acl_src,
1598
1598
1599
1599
/* *
1600
1600
* @brief Applies element-wise sine function to the elements of a tensor.
1601
- *
1601
+ *
1602
1602
* This function computes the sine of each element in the source tensor `acl_src`
1603
1603
* and stores the result in the destination tensor `acl_dst`.
1604
1604
* The operation is defined as:
0 commit comments