Executes the provided function and cleans up all intermediate tensors allocated. Any tensors returned will remain in memory.
the name of the closure, or the function to execute.
Optional
(optional) the function to execute
(optional) tensors
Executes the provided function and cleans up all intermediate tensors allocated. Any tensors returned will remain in memory.