code: def next_episode_results(self):
      for i in range(self._num_returned, len(self._episode_rewards)):
          yield (self._episode_rewards[i], self._episode_lengths[i])
      self._num_returned = len(self._episode_rewards)
  
imports: import time
  import numpy
  from collections import deque
  import gym
  from gym import spaces
  from parl.env.compat_wrappers import CompatWrapper, is_gym_version_ge, V_NPRANDOM_CHANGED
  import cv2
label_desc: Use image node_id 7 for calling the MonitorEnv obj's underlying member method code with example usage: obj.next_episode_results() without return types