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

Function _convert_approximate_equal

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

Source from the content-addressed store, hash-verified

2401
2402@RegisterPFor("ApproximateEqual")
2403def _convert_approximate_equal(pfor_input):
2404 pfor_input.expanddim_inputs_for_broadcast()
2405 x = pfor_input.input(0)[0]
2406 y = pfor_input.input(1)[0]
2407 tolerance = pfor_input.get_attr("tolerance")
2408 return wrap(math_ops.approximate_equal(x, y, tolerance=tolerance), True)
2409
2410
2411@RegisterPFor("Shape")

Callers

nothing calls this directly

Calls 4

wrapFunction · 0.70
inputMethod · 0.45
get_attrMethod · 0.45

Tested by

no test coverage detected