neural_compressor.ux.components.db_manager.utils

DB Manager utils module.

Module Contents

Functions

update_dataloaders_params(→ None)

Update dataloaders' params.

get_framework_dataloaders_config(→ List[dict])

Get dataloaders config for specified framework.

get_framework_transforms_config(→ List[dict])

Get transformations config for specified framework.

neural_compressor.ux.components.db_manager.utils.update_dataloaders_params(db_session: sqlalchemy.orm.session.Session, framework_id: int, dataloaders_to_update: List[str], framework_dataloaders_config: List[dict]) None

Update dataloaders’ params.

neural_compressor.ux.components.db_manager.utils.get_framework_dataloaders_config(framework: neural_compressor.ux.utils.consts.Frameworks) List[dict]

Get dataloaders config for specified framework.

neural_compressor.ux.components.db_manager.utils.get_framework_transforms_config(framework: neural_compressor.ux.utils.consts.Frameworks) List[dict]

Get transformations config for specified framework.