DeepLearning - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : DeepLearning Package : Tensors : Managing Tensors : DeepLearning/AddMultiple

DeepLearning

  

AddMultiple

  

fill compute min over entries of a Tensor

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

AddMultiple(L,opts)

Parameters

L

-

list of Tensor objects

opts

-

(optional) options as described 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 AddMultiple(L,opts) command creates a Tensor in the active dataflow graph which is the pairwise sum of the Tensor objects in L.

• 

The elements of the list L must be Tensors of the same shape.

• 

This functions is part of the DeepLearning package, so it can be used in the short form AddMultiple(..) only after executing the command with(DeepLearning). However, it can always be accessed through the long form of the command by using DeepLearning[AddMultiple](..).

Examples

withDeepLearning:

t1Ones3,4,datatype=float8

t1DeepLearning TensorName: ones:0Shape: [3, 4]Data Type: float[8]

(1)

t2Zeros3,4,datatype=float8

t2DeepLearning TensorName: zeros:0Shape: [3, 4]Data Type: float[8]

(2)

AddMultiplet1,t2

DeepLearning TensorName: AddN:0Shape: [3, 4]Data Type: float[8]

(3)

Compatibility

• 

The DeepLearning[AddMultiple] command was introduced in Maple 2018.

• 

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

See Also

DeepLearning Overview