File size: 289 Bytes
877add7
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
"""RL episode logging dataset."""

from __future__ import annotations


def make_rl_record(observation: dict, action: dict, reward: float, done: bool) -> dict:
    return {
        "observation": observation,
        "action": action,
        "reward": reward,
        "done": done,
    }