df7332c3ba49e782f14414639e537f37a19133a8,catalyst/utils/plotly.py,,get_tensorboard_scalars,#Any#Any#Any#,18
Before Change
else:
scalar_names = [n for n in event_acc.Tags()["scalars"] if step in n]
scalars = {sn: event_acc.Scalars(sn) for sn in scalar_names}
return scalars
After Change
) -> Dict[str, List]:
summary_reader = SummaryReader(logdir, type_filter="scalar")
items = defaultdict(list)
for item in summary_reader:
if step in item.tag and (metrics is None or any(m in item.tag for m in metrics)):
items[item.tag].append(item.value)
return items
def get_scatter(scalars: List[SummaryItem], name: str) -> go.Scatter:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: catalyst-team/catalyst
Commit Name: df7332c3ba49e782f14414639e537f37a19133a8
Time: 2019-05-13
Author: vvelicodnii@snapchat.com
File Name: catalyst/utils/plotly.py
Class Name:
Method Name: get_tensorboard_scalars
Project Name: home-assistant/home-assistant
Commit Name: 2cfcbf63804fa32c41086b5e470d4d3537415d9b
Time: 2015-02-07
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/history.py
Class Name:
Method Name: state_changes_during_period