檢查通訊後端是否可用。
Note, this function returns whether MLX has the capability of
instantiating that distributed backend not whether it is possible to
create a communication group. For that purpose one should use
init(strict=True).
- 參數:
backend (str, optional) -- The name of the backend to check for availability.
It takes the same values as init(). Default: "any".
- 回傳:
Whether the distributed backend is available.
- 回傳型別:
bool