Module dispatcher

Module dispatcher 

Source

Functionsยง

call_builtin
Call a registered language builtin by name. Supports function overloading by trying different argument patterns. Returns an error if no builtin with that name and compatible arguments is found.
gather_if_needed
Convert GPU-resident values to host tensors when an acceleration provider exists. Non-GPU inputs are passed through unchanged.
is_gpu_value
Return true when the passed value is a GPU-resident tensor handle.
value_contains_gpu
Returns true when the value (or nested elements) contains any GPU-resident tensors.