Returns x + y element-wise. *NOTE*: `Add` supports broadcasting. `AddN` does not. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
(scope *Scope, x tf.Output, y tf.Output)
| 32911 | // *NOTE*: `Add` supports broadcasting. `AddN` does not. More about broadcasting |
| 32912 | // [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) |
| 32913 | func AddV2(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) { |
| 32914 | if scope.Err() != nil { |
| 32915 | return |
| 32916 | } |
| 32917 | opspec := tf.OpSpec{ |
| 32918 | Type: "AddV2", |
| 32919 | Input: []tf.Input{ |
| 32920 | x, y, |
| 32921 | }, |
| 32922 | } |
| 32923 | op := scope.AddOperation(opspec) |
| 32924 | return op.Output(0) |
| 32925 | } |
| 32926 | |
| 32927 | // Constructs an Optional variant from a tuple of tensors. |
| 32928 | func OptionalFromValue(scope *Scope, components []tf.Output) (optional tf.Output) { |