A flexible representation of library function equivalency is included in an image graph implementation API to provide a mechanism for a graph node developer to identify functions that may be executed on heterogeneous devices to arrive at sufficiently equivalent results. An image graph executor may employ an equivalency class object or function defined through the image graph implementation API to schedule work subtasks to heterogeneous hardware resources in parallel for greater implementation efficiency.