def funcs_allclose(f, backends, backend_tensors, rtol=0, atol=1e-7):
    # call funcs to get results
    results = []
    for backend, tensors in zip(backends, backend_tensors):
        results.append(call_func(f, backend, tensors))

    # assert results to be equal
    return tensors_allclose(results, rtol=rtol, atol=atol)
For each backends, calls f with its tensors, and assert the results to be
dataset/ETHPy150Open NervanaSystems/neon/neon/backends/tests/utils.py/funcs_allclose