clearSession

Clear cached tensor references from the trace session. Call between training batches to prevent memory accumulation.