eisen-ai / eisen-core

Core functionality of Eisen
MIT License
41 stars 10 forks source link

bugfix: dictionary reference error #29

Closed dasturge closed 4 years ago

dasturge commented 4 years ago

This list contains a reference to a single dictionary object, so multiplying the list creates a list of N references to this same dictionary object, breaking EpochDataAggregator for multiple losses. Using a comprehension instead fixes it.