composite_transform
CompositeTransform
Bases: BaseTransform
Source code in lightning_boost/modules/preprocessing/composite_transform.py
__call__(inputs, targets)
Performs the given transforms in the specified order for inputs and targets.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
inputs |
Dict[str, Any]
|
Inputs. |
required |
targets |
Dict[str, Any]
|
Targets. |
required |
Returns:
Type | Description |
---|---|
Tuple[Dict[str, Any], Dict[str, Any]]
|
Tuple[Dict[str, torch.Tensor], Dict[str, torch.Tensor]]: Inputs, targets (transformed). |