You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2025. It is now read-only.
It is easily validated at construction that all fields of an object have the same backend, which can now go wrong;
The backend can be obtained from the type parameter instead of calling get_backend at the beginning of most methods.
Some investigation might be needed to check whether the backend type (e.g. CPU) or the backend type instance (CPU()) should be the type parameter, as I think I saw that these backends can have some internal state.
This might clean up the code somewhat, because:
get_backendat the beginning of most methods.Some investigation might be needed to check whether the backend type (e.g.
CPU) or the backend type instance (CPU()) should be the type parameter, as I think I saw that these backends can have some internal state.