C# 클래스 Unity.MLAgents.StatsRecorder

Add stats (key-value pairs) for reporting. These values will sent these to a StatsReporter instance, which means the values will appear in the TensorBoard summary, as well as trainer gauges. You can nest stats in TensorBoard by adding "/" in the name (e.g. "Agent/Health" and "Agent/Wallet"). Note that stats are only written to TensorBoard each summary_frequency steps (a trainer configuration). If a stat is received multiple times, within that period then the values will be aggregated using the StatAggregationMethod provided.
파일 보기 프로젝트 열기: Hsgngr/Pandemic_Simulation 1 사용 예제들

공개 메소드들

메소드 설명
Add ( string key, float value, StatAggregationMethod aggregationMethod = StatAggregationMethod.Average ) : void

Add a stat value for reporting.

비공개 메소드들

메소드 설명
Dispose ( ) : void
StatsRecorder ( ) : Unity.MLAgents.SideChannels

Constructor.

메소드 상세

Add() 공개 메소드

Add a stat value for reporting.
public Add ( string key, float value, StatAggregationMethod aggregationMethod = StatAggregationMethod.Average ) : void
key string The stat name.
value float /// The stat value. You can nest stats in TensorBoard by using "/". ///
aggregationMethod StatAggregationMethod /// How multiple values sent in the same summary window should be treated. ///
리턴 void