DeepLearning,Tensor,Maximum - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : DeepLearning Package : Tensors : Operations on Tensors : DeepLearning/Tensor/Maximum

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 TensorName: Const:0Shape: [2, 2]Data Type: float[8]

(1)

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

t2DeepLearning TensorName: Const_1:0Shape: [2, 2]Data Type: float[8]

(2)

valueVariableInitializer

VariableInitializer

(3)

valueMaximumt1,t2

29.18.300000000000015.300000000000020.3000000000000

(4)

valueMinimumt1,t2

11.−5.7000000000000012.10000000000004.50000000000000

(5)

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