pub fn optimize(g: &TensorGraph, shim: &dyn Shim, held: &[&str]) -> OptimizedExpand description
g with the shared rules but those held applied under shim, every firing, and the report of every decision. A
rule held, or one building a class the chip does not link whole, is run on a copy of the graph to report where it
would have fired.