|
pulsatrix
|
Shared helpers for the post-hoc explainers' host boundary. More...
Functions | |
| DeviceBackend * | backend_beside (const Tensor &like, DeviceBackend *backend) |
The backend to allocate a tensor through that must live beside like. | |
Shared helpers for the post-hoc explainers' host boundary.
|
inline |
The backend to allocate a tensor through that must live beside like.
backend when it serves like's device (the caller's choice, as before), else like's own owning backend – so a host-only backend argument never receives device data.