Added modifications

This commit is contained in:
shashvatshahi1998 2019-04-03 08:09:58 +05:30
parent 4e37e19e65
commit 433882c1ab

View File

@ -2788,9 +2788,9 @@ def add_n(inputs, name=None):
Converts `IndexedSlices` objects into dense tensors prior to adding. Converts `IndexedSlices` objects into dense tensors prior to adding.
`tf.math.add_n` performs the same operation as `tf.math.accumulate_n` but it waits `tf.math.add_n` performs the same operation as `tf.math.accumulate_n` but it waits
for all of its inputs to be ready before beginning to sum, that consumes more for all of its inputs to be ready before beginning to sum.This can consume more
memory as inputs are not ready at different times, since minimum temporary storage memory when inputs are ready at different times, since the minimum temporary storage
is proportional to the output size rather than the inputs size. required is proportional to the input size rather than the output size.
For example: For example:
```python ```python