(module)
| 233 | if self.training and self.gradient_checkpointing: |
| 234 | |
| 235 | def create_custom_forward(module): |
| 236 | def custom_forward(*inputs): |
| 237 | return module(*inputs) |
| 238 | |
| 239 | return custom_forward |
| 240 | |
| 241 | if is_torch_version(">=", "1.11.0"): |
| 242 | # middle |
nothing calls this directly
no outgoing calls
no test coverage detected