(self)
| 92 | self._summary[key] = type(value) |
| 93 | |
| 94 | def summary(self): |
| 95 | self._summary.update(self) |
| 96 | for k, v in zip( |
| 97 | ["weights", "optim", "metrics", "weight_type", "statistics"], |
| 98 | [self.weights, self.optim, self.metrics, self.weight_type, self.statistics], |
| 99 | ): |
| 100 | self._add_to_summary(k, v) |
| 101 | return self._summary |
| 102 | |
| 103 | def __repr__(self): |
| 104 | return str(self.summary()) |