def release(self):
    if self._aggregated_statistics:
        self._aggregated_statistics.release()
    if self._infer_raw_results:
        self._infer_raw_results.release()
def release(self):
    if self._aggregated_statistics:
        self._aggregated_statistics.release()
    if self._infer_raw_results:
        self._infer_raw_results.release()