Set the captures with the provided list of captures & placeholder.
(self, capture_list)
| 633 | self.inputs.append(placeholder) |
| 634 | |
| 635 | def reset_captures(self, capture_list): |
| 636 | """Set the captures with the provided list of captures & placeholder.""" |
| 637 | self._captures = py_collections.OrderedDict() |
| 638 | for tensor, placeholder in capture_list: |
| 639 | self._captures[ops.tensor_id(tensor)] = (tensor, placeholder) |
| 640 | |
| 641 | def pop_capture(self, tensor): |
| 642 | """Remove the capture and return the generated placeholder.""" |
no test coverage detected