Expand description
MATLAB-compatible union builtin with GPU-aware semantics for RunMat.
Handles element-wise and row-wise unions with optional stable ordering and index outputs that mirror MathWorks MATLAB semantics. GPU tensors use a provider hook or typed host fallback, then public outputs are restored to the owning provider.
Structs§
Constants§
Functions§
- evaluate
- Evaluate the
unionbuiltin once and expose all outputs. - union_
numeric_ from_ tensors - Helper exposed for acceleration providers handling numeric tensors entirely on the host.