and - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

Calling Sequence

not x

x and y

x or y

x xor y

x implies y

Parameters

x

-

Tensor

y

-

Tensor

Description

• 

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.

Examples

withDeepLearning:

sessSession

sessDeepLearning Session<tensorflow.python.client.session.Session object at 0x7fe6f868a890>

(1)

t1Tensortrue&comma;false&comma;true

t1DeepLearning TensorShape: [3]Data Type: truefalse

(2)

t2Tensorfalse&comma;true&comma;true

t2DeepLearning TensorShape: [3]Data Type: truefalse

(3)

t1andt2

DeepLearning TensorShape: [3]Data Type: truefalse

(4)

t1ornott2

DeepLearning TensorShape: [3]Data Type: truefalse

(5)

Compatibility

• 

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

Tensor