def call_func(f, backend, tensors):
    if backend == np:
        return f(backend, *tensors)
    else:
        op_tree = f(backend, *tensors)
        op_tree_val = backend.empty(op_tree.shape)
        op_tree_val[:] = op_tree
        return op_tree_val.get()
Get immediate measurement result.
dataset/ETHPy150Open NervanaSystems/neon/neon/backends/tests/utils.py/call_func--crossover with--dataset/ETHPy150Open LabPy/lantz/lantz/drivers/legacy/tektronix/tds2024b.py/TDS2024.measure_min