tf.add_n(inputs, name=None)
Adds all input tensors element-wise.
Args:
-
inputs
: A list ofTensor
objects, each with same shape and type. -
name
: A name for the operation (optional).
Returns:
A Tensor
of same shape and type as the elements of inputs
.
Raises:
-
ValueError
: Ifinputs
don't all have same shape and dtype or the shape cannot be inferred.
Please login to continue.