Add all input tensors element wise.
tf.raw_ops.AddN(
inputs, name=None
)
Inputs must be of same size and shape.
x = [9, 7, 10]
tf.math.add_n(x) ==> 26
Returns | |
---|---|
A Tensor . Has the same type as inputs .
|
Add all input tensors element wise.
tf.raw_ops.AddN(
inputs, name=None
)
Inputs must be of same size and shape.
x = [9, 7, 10]
tf.math.add_n(x) ==> 26
Returns | |
---|---|
A Tensor . Has the same type as inputs .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.