We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
check_inputs
to_torchscript
1 parent 63c2e69 commit e21f0ccCopy full SHA for e21f0cc
src/lightning/pytorch/core/module.py
@@ -1473,8 +1473,8 @@ def forward(self, x):
1473
example_inputs = self.example_input_array
1474
1475
if kwargs.get("check_inputs") is not None:
1476
- check_inputs = self._on_before_batch_transfer(kwargs["check_inputs"])
1477
- kwargs["check_inputs"] = self._apply_batch_transfer_handler(check_inputs)
+ kwargs["check_inputs"] = self._on_before_batch_transfer(kwargs["check_inputs"])
+ kwargs["check_inputs"] = self._apply_batch_transfer_handler(kwargs["check_inputs"])
1478
1479
# automatically send example inputs to the right device and use trace
1480
example_inputs = self._on_before_batch_transfer(example_inputs)
0 commit comments