(*inputs)
| 471 | def custom(start, end): |
| 472 | |
| 473 | def custom_forward(*inputs): |
| 474 | layers = self.layer[start:end] |
| 475 | x_ = inputs[0] |
| 476 | for layer in layers: |
| 477 | x_ = layer(x_, inputs[1]) |
| 478 | return x_ |
| 479 | |
| 480 | return custom_forward |
| 481 |
nothing calls this directly
no outgoing calls
no test coverage detected