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

Function _convert_not_equal

tensorflow/python/ops/parallel_for/pfor.py:2393–2399  ·  view source on GitHub ↗
(pfor_input)

Source from the content-addressed store, hash-verified

2391
2392@RegisterPFor("NotEqual")
2393def _convert_not_equal(pfor_input):
2394 pfor_input.expanddim_inputs_for_broadcast()
2395 x = pfor_input.input(0)[0]
2396 y = pfor_input.input(1)[0]
2397 incompatible_shape_error = pfor_input.get_attr("incompatible_shape_error")
2398 assert incompatible_shape_error
2399 return wrap(math_ops.not_equal(x, y), True)
2400
2401
2402@RegisterPFor("ApproximateEqual")

Callers

nothing calls this directly

Calls 5

not_equalMethod · 0.80
wrapFunction · 0.70
inputMethod · 0.45
get_attrMethod · 0.45

Tested by

no test coverage detected