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

Function _convert_equal

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

Source from the content-addressed store, hash-verified

2381
2382@RegisterPFor("Equal")
2383def _convert_equal(pfor_input):
2384 pfor_input.expanddim_inputs_for_broadcast()
2385 x = pfor_input.input(0)[0]
2386 y = pfor_input.input(1)[0]
2387 incompatible_shape_error = pfor_input.get_attr("incompatible_shape_error")
2388 assert incompatible_shape_error
2389 return wrap(math_ops.equal(x, y), True)
2390
2391
2392@RegisterPFor("NotEqual")

Callers

nothing calls this directly

Calls 5

equalMethod · 0.80
wrapFunction · 0.70
inputMethod · 0.45
get_attrMethod · 0.45

Tested by

no test coverage detected