And¶
And - 7¶
Version¶
name: And (GitHub)
domain:
main
since_version:
7
function:
False
support_level:
SupportType.COMMON
shape inference:
True
This version of the operator has been available since version 7.
Summary¶
Returns the tensor resulted from performing the and
logical operation
elementwise on the input tensors A
and B
(with Numpy-style broadcasting support).
This operator supports multidirectional (i.e., Numpy-style) broadcasting; for more details please check Broadcasting in ONNX.
Inputs¶
A (heterogeneous) - T:
First input operand for the logical operator.
B (heterogeneous) - T:
Second input operand for the logical operator.
Outputs¶
C (heterogeneous) - T1:
Result tensor.
Type Constraints¶
T in (
tensor(bool)
):Constrain input to boolean tensor.
T1 in (
tensor(bool)
):Constrain output to boolean tensor.
And - 1¶
Version¶
name: And (GitHub)
domain:
main
since_version:
1
function:
False
support_level:
SupportType.COMMON
shape inference:
True
This version of the operator has been available since version 1.
Summary¶
Returns the tensor resulted from performing the and
logical operation
elementwise on the input tensors A
and B
.
If broadcasting is enabled, the right-hand-side argument will be broadcasted
to match the shape of left-hand-side argument. See the doc of Add
for a
detailed description of the broadcasting rules.
Attributes¶
axis - INT :
If set, defines the broadcast dimensions.
broadcast - INT (default is
'0'
):Enable broadcasting
Inputs¶
A (heterogeneous) - T:
Left input tensor for the logical operator.
B (heterogeneous) - T:
Right input tensor for the logical operator.
Outputs¶
C (heterogeneous) - T1:
Result tensor.
Type Constraints¶
T in (
tensor(bool)
):Constrain input to boolean tensor.
T1 in (
tensor(bool)
):Constrain output to boolean tensor.