# tf.experimental.numpy.sum

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.9.3/tensorflow/python/ops/numpy_ops/np_array_ops.py#L549-L557) |

TensorFlow variant of NumPy's `sum`.

    tf.experimental.numpy.sum(
        a, axis=None, dtype=None, keepdims=None
    )

Unsupported arguments: `out`, `initial`, `where`.

See the NumPy documentation for [`numpy.sum`](https://numpy.org/doc/1.16/reference/generated/numpy.sum.html).