 AddMultiple - Maple Help

DeepLearning

 fill compute min over entries of a Tensor 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

 > $\mathrm{with}\left(\mathrm{DeepLearning}\right):$
 > $\mathrm{t1}≔\mathrm{Ones}\left(\left[3,4\right],\mathrm{datatype}=\mathrm{float}\left[8\right]\right)$
 ${\mathrm{t1}}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: undefined}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (1)
 > $\mathrm{t2}≔\mathrm{Zeros}\left(\left[3,4\right],\mathrm{datatype}=\mathrm{float}\left[8\right]\right)$
 ${\mathrm{t2}}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: undefined}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (2)
 > $\mathrm{AddMultiple}\left(\left[\mathrm{t1},\mathrm{t2}\right]\right)$
 $\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: none}}\\ {\mathrm{Shape: undefined}}\\ {\mathrm{Data Type: float\left[8\right]}}\end{array}\right]$ (3) Compatibility

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