pub fn trace<F>(name: &str, f: F) -> Graphwhere F: FnOnce(&Tracer) -> Vec<TracedTensor>,
Trace a function into an IR graph.
The closure receives a Tracer and returns output tensors. All operations are recorded (not executed) into the graph.
Tracer