FilesLast commitLast update
17 days ago
2 months ago
3 months ago
24 days ago
21 days ago
24 days ago
24 days ago
9 days ago
29 days ago
2 days ago
2 days ago
README

LogicalAnd

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: performs a logical AND check on the corresponding elements of the two input tensors and outputs a Boolean tensor (True/False).

  • Computation formula:

out=input1∧input2out=input1∧input2

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
input_1 Input Input parameter for the logical_and computation, which is input_1 in the formula. BOOL ND
input_2 Input Input parameter for the logical_and computation, which is input_2 in the formula. BOOL ND
out Output Output parameter for the logical_and computation, which is out in the formula. BOOL ND
  • Atlas training products and Atlas inference products: BFLOAT16 is not supported.

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_logical_and Invokes the LogicalAnd operator through the aclnnLogicalAnd API.
Graph-mode invocation - Invokes the LogicalAnd operator by building a graph through the operator IR.