Make a list of tensors available in the outer context.
(self, result)
| 747 | self._outer_context.ExitGradientColocation(op, gradient_uid) |
| 748 | |
| 749 | def ExitResult(self, result): |
| 750 | """Make a list of tensors available in the outer context.""" |
| 751 | if self._outer_context: |
| 752 | nest.map_structure( |
| 753 | lambda x: self._outer_context.AddName(x.name), |
| 754 | result, |
| 755 | expand_composites=True) |
| 756 | |
| 757 | def GetWhileContext(self): |
| 758 | """Return the while context containing this context.""" |
no test coverage detected