Aliases:
tf.add_ntf.math.add_n
tf.math.add_n(
inputs,
name=None
)
Defined in tensorflow/python/ops/math_ops.py.
Adds all input tensors element-wise.
Converts IndexedSlices objects into dense tensors prior to adding.
Args:
inputs: A list ofTensororIndexedSlicesobjects, 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.