Skip to content

Commit 0250580

Browse files
author
noemotiovon
committed
codestyle adjustment
Signed-off-by: noemotiovon <[email protected]>
1 parent bb9c213 commit 0250580

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ggml/src/ggml-cann/aclnn_ops.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3548,7 +3548,7 @@ void ggml_cann_elu(ggml_backend_cann_context& ctx, ggml_tensor* dst){
35483548
uint64_t workspaceSize = 0;
35493549
aclOpExecutor* executor;
35503550
void* workspaceAddr = nullptr;
3551-
ACL_CHECK(aclnnEluGetWorkspaceSize(acl_input, alpha, scale, inputScale,
3551+
ACL_CHECK(aclnnEluGetWorkspaceSize(acl_input, alpha, scale, inputScale,
35523552
acl_dst, &workspaceSize, &executor));
35533553

35543554
if (workspaceSize > 0) {

ggml/src/ggml-cann/aclnn_ops.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ void ggml_cann_conv_transpose_1d(ggml_backend_cann_context& ctx, ggml_tensor* ds
545545
* The result is written to the destination tensor `dst` in-place.
546546
* The ELU function is defined as:
547547
*
548-
* ELU(x) = x, if x > 0
548+
* ELU(x) = x, if x > 0
549549
* = α * (exp(x) - 1), if x <= 0
550550
*
551551
* where α (alpha) is a hyperparameter, typically set to 1.0.

0 commit comments

Comments
 (0)