fn
executable_grad_output_ids
int executable_grad_output_ids(const CompiledExecutable * exe)Phase 1.3: when the executable was built via compile_trace_with_backward it also holds the auto-derived gradient tensors (one per parameter in the order they were passed in). Returns an empty vector for forward-only executables. The grad ids are minted by the builder so they do not overlap with anything in the trace's own id space.