Dummy inputs to do a forward pass in the network. Returns: torch.Tensor with dummy inputs
(self)
| 283 | |
| 284 | @property |
| 285 | def dummy_inputs(self): |
| 286 | """ Dummy inputs to do a forward pass in the network. |
| 287 | |
| 288 | Returns: |
| 289 | torch.Tensor with dummy inputs |
| 290 | """ |
| 291 | return {"input_ids": torch.tensor(DUMMY_INPUTS)} |
| 292 | |
| 293 | def __init__(self, config, *inputs, **kwargs): |
| 294 | super().__init__() |
nothing calls this directly
no outgoing calls
no test coverage detected