Maximum - 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,Maximum

compute the pairwise maximum of two Tensors

DeepLearning,Tensor,Minimum

compute the pairwise minimum of two Tensors

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

Maximum(x,y,opts)

Minimum(x,y,opts)

Parameters

x

-

Tensor

y

-

Tensor

opts

-

zero or more options as specified below

Options

• 

name=string

The value of option name specifies an optional name for this Tensor, to be displayed in output and when visualizing the dataflow graph.

Description

• 

The Maximum(x,y,opts) command computes the pairwise maximum of Tensor objects x and y.

• 

The Minimum(x,y,opts) command computes the pairwise minimum of Tensor objects x and y.

Examples

withDeepLearning:

t1Constant11.0,18.3,12.1,20.3,datatype=float8

t1DeepLearning TensorShape: [2, 2]Data Type: float[8]

(1)

t2Constant29.0,5.7,15.3,4.5,datatype=float8

t2DeepLearning TensorShape: [2, 2]Data Type: float[8]

(2)

Maximumt1,t2

DeepLearning TensorShape: [2, 2]Data Type: float[8]

(3)

Minimumt1,t2

DeepLearning TensorShape: [2, 2]Data Type: float[8]

(4)

Compatibility

• 

The DeepLearning,Tensor,Maximum and DeepLearning,Tensor,Minimum commands were introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

DeepLearning Overview

Tensor