FilesLast commitLast update
19 days ago
2 months ago
1 month ago
8 months ago
8 months ago
1 month ago
11 days ago
README

Slogdet

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products ×
Atlas A3 products √
Atlas A2 products √
Atlas 200I/500 A2 inference products ×
Atlas inference products √
Atlas training products √

Function Description

  • Operator function: computes the sign and natural logarithm of the determinant of the input self.

  • Computation formula:

    signOut=sign(det(self))logOut=log(abs(det(self)))signOut = sign(det(self)) \\ logOut = log(abs(det(self)))

    Here, det denotes the determinant computation and abs denotes the absolute value computation. If the result of det(self)det(self) is 0, logOut=−inflogOut = -inf.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
self Input The input self in the computation formula. FLOAT, DOUBLE, COMPLEX64, COMPLEX128 ND
logOut Output The output logOut in the computation formula. FLOAT, DOUBLE, COMPLEX64, COMPLEX128 ND
signOut Output The output signOut in the computation formula. FLOAT, DOUBLE, COMPLEX64, COMPLEX128 ND
  • When self is of the COMPLEX type, signOut cannot be of a non-COMPLEX type.
  • When self is of the COMPLEX type, logOut cannot be of a non-COMPLEX type.

Constraint Description

Overflow values Inf/Nan are not supported in the input data.

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_slogdet.cpp Invokes the Slogdet operator through the aclnnSlogdet API.