Quickstart
TheTable class in LanceDB implements a contract for a PyTorch
Dataset.
This means you can simply use a LanceDB table in a PyTorch dataloader directly.
Table class in LanceDB implements the torch.utils.data.Dataset interface, you’ll most likely find that using
a table Permutation is more efficient for training.
Selecting columns
By default, theTable class will return all columns in the table when used as input to PyTorch. If you only need
a subset of columns, you can significantly reduce your I/O requirements by selecting only the columns you need.