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

Online Help

All Products    Maple    MapleSim


DeepLearning

  

AddMultiple

  

create a Tensor from pairwise sums of given Tensor objects

 

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 function 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 TensorShape: [3, 4]Data Type: float[8]

(1)

t2Zeros3,4,datatype=float8

t2DeepLearning TensorShape: [3, 4]Data Type: float[8]

(2)

AddMultiplet1,t2

DeepLearning TensorShape: [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