def intermediate_value(self, metric):
if '<STR_LIT::>' in metric:<EOL><INDENT>metric_name = metric.split('<STR_LIT::>')[-<NUM_LIT:1>]<EOL><DEDENT>else:<EOL><INDENT>metric_name = metric<EOL><DEDENT>return self.metrics_by_name[metric_name].value()<EOL>
Return an intermediate (inter-epoch) value of a metric