(self, model, state_outputs)
| 863 | return output |
| 864 | |
| 865 | def _prepare_output_sequence(self, model, state_outputs): |
| 866 | output = self.internal_cell._prepare_output_sequence( |
| 867 | model, |
| 868 | state_outputs, |
| 869 | ) |
| 870 | if self.dropout_ratio is not None: |
| 871 | output = self._apply_dropout(model, output) |
| 872 | return output |
| 873 | |
| 874 | def _apply_dropout(self, model, output): |
| 875 | if self.dropout_ratio and not self.forward_only: |
nothing calls this directly
no test coverage detected