def get_backend_count():
    count = ct.c_int(0)
    safe_call(backend.get().af_get_backend_count(ct.pointer(count)))
    return count.value
Get number of available backends
dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/library.py/get_backend_count