Returns the truth value of (x != y) element-wise. *NOTE*: `NotEqual` supports broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
(scope *Scope, x tf.Output, y tf.Output)
| 34176 | // *NOTE*: `NotEqual` supports broadcasting. More about broadcasting |
| 34177 | // [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) |
| 34178 | func NotEqual(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) { |
| 34179 | if scope.Err() != nil { |
| 34180 | return |
| 34181 | } |
| 34182 | opspec := tf.OpSpec{ |
| 34183 | Type: "NotEqual", |
| 34184 | Input: []tf.Input{ |
| 34185 | x, y, |
| 34186 | }, |
| 34187 | } |
| 34188 | op := scope.AddOperation(opspec) |
| 34189 | return op.Output(0) |
| 34190 | } |
| 34191 | |
| 34192 | // ApproximateEqualAttr is an optional argument to ApproximateEqual. |
| 34193 | type ApproximateEqualAttr func(optionalAttr) |