public void Dispose() { Training?.Dispose(); Validation?.Dispose(); Training = null; Validation = null; }