

from tensorforce.core.memories.memory import Memory
from tensorforce.core.memories.prioritized_replay import PrioritizedReplay
from tensorforce.core.memories.queue import Queue
from tensorforce.core.memories.latest import Latest
from tensorforce.core.memories.replay import Replay


memories = dict(
    latest=Latest,
    replay=Replay,
    prioritized_replay=PrioritizedReplay
    # prioritized_replay=PrioritizedReplay,
    # naive_prioritized_replay=NaivePrioritizedReplay
)

__all__ = ['memories', 'Memory', 'Queue', 'Latest', 'Replay', 'PrioritizedReplay']



from tensorforce.core.memories.memory import Memory
from tensorforce.core.memories.queue import Queue
from tensorforce.core.memories.latest import Latest
from tensorforce.core.memories.replay import Replay
from tensorforce.core.memories.prioritized_replay import PrioritizedReplay


memories = dict(
    latest=Latest,
    replay=Replay,
    prioritized_replay=PrioritizedReplay
    # prioritized_replay=PrioritizedReplay,
    # naive_prioritized_replay=NaivePrioritizedReplay
)

__all__ = ['memories', 'Memory', 'Queue', 'Latest', 'Replay', 'PrioritizedReplay']

Change import order in memories
Change import order in memories

  
  
  from tensorforce.core.memories.memory import Memory
- from tensorforce.core.memories.prioritized_replay import PrioritizedReplay
  from tensorforce.core.memories.queue import Queue
  from tensorforce.core.memories.latest import Latest
  from tensorforce.core.memories.replay import Replay
+ from tensorforce.core.memories.prioritized_replay import PrioritizedReplay
  
  
  memories = dict(
      latest=Latest,
      replay=Replay,
      prioritized_replay=PrioritizedReplay
      # prioritized_replay=PrioritizedReplay,
      # naive_prioritized_replay=NaivePrioritizedReplay
  )
  
  __all__ = ['memories', 'Memory', 'Queue', 'Latest', 'Replay', 'PrioritizedReplay']
  
Change import order in memories
## Code Before:


from tensorforce.core.memories.memory import Memory
from tensorforce.core.memories.prioritized_replay import PrioritizedReplay
from tensorforce.core.memories.queue import Queue
from tensorforce.core.memories.latest import Latest
from tensorforce.core.memories.replay import Replay


memories = dict(
    latest=Latest,
    replay=Replay,
    prioritized_replay=PrioritizedReplay
    # prioritized_replay=PrioritizedReplay,
    # naive_prioritized_replay=NaivePrioritizedReplay
)

__all__ = ['memories', 'Memory', 'Queue', 'Latest', 'Replay', 'PrioritizedReplay']

## Instruction:
Change import order in memories
## Code After:


from tensorforce.core.memories.memory import Memory
from tensorforce.core.memories.queue import Queue
from tensorforce.core.memories.latest import Latest
from tensorforce.core.memories.replay import Replay
from tensorforce.core.memories.prioritized_replay import PrioritizedReplay


memories = dict(
    latest=Latest,
    replay=Replay,
    prioritized_replay=PrioritizedReplay
    # prioritized_replay=PrioritizedReplay,
    # naive_prioritized_replay=NaivePrioritizedReplay
)

__all__ = ['memories', 'Memory', 'Queue', 'Latest', 'Replay', 'PrioritizedReplay']
