Fix CI
This commit is contained in:
@@ -704,9 +704,7 @@ class Trainer:
|
|||||||
else:
|
else:
|
||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
def _prepare_inputs(
|
def _prepare_inputs(self, inputs: Dict[str, Union[torch.Tensor, Any]]) -> Dict[str, Union[torch.Tensor, Any]]:
|
||||||
self, inputs: Dict[str, Union[torch.Tensor, Any]]
|
|
||||||
) -> Dict[str, Union[torch.Tensor, Any]]:
|
|
||||||
"""
|
"""
|
||||||
Prepare :obj:`inputs` before feeding them to the model, converting them to tensors if they are not already and
|
Prepare :obj:`inputs` before feeding them to the model, converting them to tensors if they are not already and
|
||||||
handling potential state.
|
handling potential state.
|
||||||
|
|||||||
Reference in New Issue
Block a user