[][src]Function tract_hir::internal::order::eval_order_for_nodes

pub fn eval_order_for_nodes<F, O>(
    nodes: &[BaseNode<F, O>],
    inputs: &[usize],
    targets: &[usize],
    more_dependencies: &[(usize, usize)]
) -> Result<Vec<usize>, TractError> where
    F: Fact + Hash + Clone + 'static,
    O: Debug + Display + AsRef<dyn Op + 'static> + AsMut<dyn Op + 'static> + Clone + 'static + Hash

Find a working evaluation order for a list of nodes.