(module)
| 295 | if self.training and self.gradient_checkpointing: |
| 296 | |
| 297 | def create_custom_forward(module): |
| 298 | def custom_forward(*inputs): |
| 299 | return module(*inputs) |
| 300 | |
| 301 | return custom_forward |
| 302 | |
| 303 | if is_torch_version(">=", "1.11.0"): |
| 304 | # middle |
nothing calls this directly
no outgoing calls
no test coverage detected