e3c7e526c78e2cc039621ef58cf062cce3a65697,rl_coach/logger.py,BaseLogger,update_wall_clock_time,#BaseLogger#Any#,230
Before Change
self.last_line_idx_written_to_csv = len(self.data.index)
def update_wall_clock_time(self, index):
if self.start_time:
self.create_signal_value("Wall-Clock Time", time.time() - self.start_time, time=index)
else:
self.create_signal_value("Wall-Clock Time", 0, time=index)
self.start_time = time.time()
class EpisodeLogger(BaseLogger):
def __init__(self):
super().__init__()
self.worker_dir_path = ""
After Change
return 0
def update_wall_clock_time(self, index):
self.create_signal_value("Wall-Clock Time", self.get_current_wall_clock_time(), time=index)
class EpisodeLogger(BaseLogger):
def __init__(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: NervanaSystems/coach
Commit Name: e3c7e526c78e2cc039621ef58cf062cce3a65697
Time: 2019-03-19
Author: gal.leibovich@intel.com
File Name: rl_coach/logger.py
Class Name: BaseLogger
Method Name: update_wall_clock_time
Project Name: NervanaSystems/coach
Commit Name: ba96e585d2ac8e1f940080d5b669976bdec8723b
Time: 2018-02-12
Author: itai.caspi@intel.com
File Name: agents/agent.py
Class Name: Agent
Method Name: update_log
Project Name: NervanaSystems/coach
Commit Name: 582921ffe3b04ff502e1c3a05088ba2902e0f5bd
Time: 2019-05-02
Author: gal.leibovich@intel.com
File Name: rl_coach/agents/value_optimization_agent.py
Class Name: ValueOptimizationAgent
Method Name: run_off_policy_evaluation