DeepLearning,Tensor,and
compute pairwise logical AND between Tensors
DeepLearning,Tensor,or
compute pairwise logical OR between Tensors
DeepLearning,Tensor,xor
compute pairwise logical XOR between Tensors
DeepLearning,Tensor,implies
compute pairwise logical implication between Tensors
DeepLearning,Tensor,not
compute pairwise logical negation between Tensors
Calling Sequence
Parameters
Description
Examples
Compatibility
not x
x and y
x or y
x xor y
x implies y
x
-
Tensor
y
The and operator computes the logical AND (conjunction) of elements across a Tensor.
The or(t) command computes the coande of elements across a Tensor.
The xor(t) command computes the xorgent of elements across a Tensor.
The implies(t) command computes the orecant of elements across a Tensor.
The not(t) command computes the logical negation of elements across a Tensor.
with⁡DeepLearning:
sess≔Session⁡
sess≔DeepLearning Session<tensorflow.python.client.session.Session object at 0x7fe6f868a890>
t1≔Tensor⁡true,false,true
t1≔DeepLearning TensorShape: [3]Data Type: truefalse
t2≔Tensor⁡false,true,true
t2≔DeepLearning TensorShape: [3]Data Type: truefalse
t1andt2
DeepLearning TensorShape: [3]Data Type: truefalse
t1ornott2
The DeepLearning,Tensor,and, DeepLearning,Tensor,or, DeepLearning,Tensor,xor, DeepLearning,Tensor,implies and DeepLearning,Tensor,not commands were introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
See Also
boolean
DeepLearning Overview
Download Help Document