Bases: ABC
ABC
Get the device of the model
the device of the model
torch.device
Prepare batch data for input
batch (dict[str, Any]) – the batch of data
the prepared batch of data
dict[str, Any]
Installation:
API Reference: