mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
28e5c5555d
* fix bug * move metrics too
12 lines
326 B
Python
12 lines
326 B
Python
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
|
|
import collections
|
|
|
|
# Define this in its own file, see #5125
|
|
RolloutMetrics = collections.namedtuple("RolloutMetrics", [
|
|
"episode_length", "episode_reward", "agent_rewards", "custom_metrics",
|
|
"perf_stats"
|
|
])
|