vipr.interfaces package¶
Submodules¶
vipr.interfaces.data_loader module¶
vipr.interfaces.loss module¶
vipr.interfaces.model_loader module¶
vipr.interfaces.network_architecture module¶
- class vipr.interfaces.network_architecture.NetworkArchitectureHandlerInterface(**kw: Any)¶
Bases:
Interface- abstract get(**kwargs) Module¶
Defines and returns the network architecture.
- Parameters:
**kwargs – Architecture parameters like: - input_shape: Input dimensions - output_shape: Output dimensions - condition_shape: For conditional networks etc.
- Returns:
Network architecture
vipr.interfaces.optimizer module¶
vipr.interfaces.postprocessor module¶
Postprocessor interface.
This file defines the interface for all postprocessor implementations.
vipr.interfaces.predictor module¶
- class vipr.interfaces.predictor.PredictorInterface(**kw: Any)¶
Bases:
InterfaceInterface for predictor handlers with unified DataSet support.
- abstract predict(dataset, model: Any, params: dict[str, Any] | None = None) dict[str, Any]¶
Make predictions using the model with unified DataSet interface.
- Parameters:
dataset – DataSet with batch-first format (batch_size, n_points)
model – Model to use for prediction
params – Additional parameters for prediction control
- Returns:
dict with prediction results in batch format