tf.add_n(inputs, name=None)
Adds all input tensors element-wise.
Args:
-
inputs: A list ofTensorobjects, 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: Ifinputsdon't all have same shape and dtype or the shape cannot be inferred.
Please login to continue.