fn
relabel_executable
CompiledExecutable * relabel_executable(const CompiledExecutable * exe, int input_ids, int output_ids)Return a shallow copy of exe sharing the underlying MPSGraphExecutable* (and any retained source_graph) and all shape/dtype/slot metadata, with input_ids and output_ids replaced by the given vectors. Returns nullptr when exe is nullptr or when the replacement vector lengths do not match the existing input_ids / output_ids lengths.