(self)
| 527 | """ |
| 528 | # E.g., optimizer state from a PartitionedGradientTransformation may be a tuple, so we |
| 529 | # have to assign it via the parent. |
| 530 | parent = self.parent |
| 531 | if parent is not None: |
| 532 | parent.output_collection.state_updates[self.name] = value |
| 533 | self.output_collection = self.output_collection._replace(state_updates=value) |
no outgoing calls