Function - initialize_minimal_dataloader

Function - initialize_minimal_dataloader#

openfl.utilities.dataloading.initialize_minimal_dataloader(plan)[source]#

Initialize a minimal dataloader without loading actual data.

This is used primarily for model initialization when the actual data is not needed.

Parameters:

plan (Plan) – Plan object linked with the dataloader

Returns:

A minimal dataloader instance with no data loaded

Return type:

DataLoader

Raises:

ValueError – If required configuration is missing or dataloader class cannot be found