RayInterface.backend#

property RayInterface.backend

Get the Ray backend.

If the backend is not initialised, it will attempt to import Ray and set it as the backend.

Returns:

The Ray backend.

Return type:

Any

Raises:

ImportError – If Ray cannot be imported, indicating that the required dependencies are missing.