Searched refs:metric_path (Results 1 – 2 of 2) sorted by relevance
328 std::string BaseName(std::string metric_path) { in BaseName() argument329 std::replace(metric_path.begin(), metric_path.end(), '\\', '/'); in BaseName()330 auto slash_idx = metric_path.rfind('/'); in BaseName()331 return slash_idx == std::string::npos ? metric_path in BaseName()332 : metric_path.substr(slash_idx + 1); in BaseName()
329 metric_path = '{}.layer_metrics.{}'.format(constants.KERAS_ATTR,331 children.append((metric, reference.node_id, metric_path))