tapeAndGraph

fun tapeAndGraph(baseOps: TensorOps = VoidTensorOps(), graph: ComputeGraph = DefaultComputeGraph(), tapeFactory: (GraphExecutionContext) -> ExecutionTape = { _ -> DefaultExecutionTape() }): DefaultGraphExecutionContext(source)

Composite preset: graph online; when recording also append to tape.