mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
13 lines
324 B
Python
13 lines
324 B
Python
import collections
|
|
|
|
# Define this in its own file, see #5125
|
|
RolloutMetrics = collections.namedtuple("RolloutMetrics", [
|
|
"episode_length",
|
|
"episode_reward",
|
|
"agent_rewards",
|
|
"custom_metrics",
|
|
"perf_stats",
|
|
"hist_data",
|
|
"media",
|
|
])
|
|
RolloutMetrics.__new__.__defaults__ = (0, 0, {}, {}, {}, {}, {})
|