Expand description
Host callbacks: Rust functions on host arrays that programs call
(host_callback, as JAX’s pure_callback), so that native code that
cannot be written generically runs inside traced programs.
Structs§
- Host
Callback - A Rust function called on host arrays by a program (
host_callback).
Type Aliases§
- HostFn
- The function of a host callback: the arguments to the results, or an error message.