MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / NotEqual

Function NotEqual

tensorflow/go/op/wrappers.go:34178–34190  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

34176// *NOTE*: `NotEqual` supports broadcasting. More about broadcasting
34177// [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
34178func 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.
34193type ApproximateEqualAttr func(optionalAttr)

Callers 2

TEST_FFunction · 0.50
PowGradFunction · 0.50

Calls 3

ErrMethod · 0.45
AddOperationMethod · 0.45
OutputMethod · 0.45

Tested by 1

TEST_FFunction · 0.40