(*inputs)
| 429 | def custom(start, end): |
| 430 | |
| 431 | def custom_forward(*inputs): |
| 432 | layers = self.layer[start:end] |
| 433 | x_ = inputs[0] |
| 434 | for layer in layers: |
| 435 | x_ = layer(x_, inputs[1]) |
| 436 | return x_ |
| 437 | |
| 438 | return custom_forward |
| 439 |
nothing calls this directly
no outgoing calls
no test coverage detected