Skip to content
fn

localize_executable

int localize_executable(const CompiledExecutable * exe, const TraceIdMap & id_map)

Return a copy of a canonicalized exe whose input_ids and output_ids have been translated from canonical indices back into the caller's raw TensorId space via id_map.to_raw. Returns an empty pointer if exe is null or any canonical index is out of range.