Adds a state update to the output collection of the current context.
(self, name: str, value: Tensor)
| 1121 | return self.get_invocation_context().state |
| 1122 | |
| 1123 | def add_summary(self, name: str, value: Union[Summable, Tensor, Summary]): |
| 1124 | """Adds the named value to `OutputCollection.summaries`. |
| 1125 | |
| 1126 | Args: |
| 1127 | name: The name of the item to add. |
| 1128 | value: The value to add. |