Adds the named value to `OutputCollection.summaries`. Args: name: The name of the item to add. value: The value to add.
(self, name: str, value: Union[Summable, Tensor, Summary])
| 1112 | def is_training(self) -> bool: |
| 1113 | return self.get_invocation_context().is_training |
| 1114 | |
| 1115 | @property |
| 1116 | def prng_key(self) -> Tensor: |
| 1117 | return self.get_invocation_context().prng_key |
| 1118 | |
| 1119 | @property |
| 1120 | def state(self): |
| 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`. |