Registry module
mixupvi_module_cti(granularity, device='cpu')
Factory function to create a MixupVIModule with predefined parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
granularity
|
Literal['1st_granularity', '2nd_granularity']
|
The granularity level for the MixupVIModule. |
required |
device
|
str
|
The device to load the model on, by default "cpu". |
'cpu'
|
Returns:
Type | Description |
---|---|
Tuple[Module, dict]
|
A tuple containing the MixupVIModule instance and its parameters. |
Source code in src/pydeconv/model/nn/registry.py
scaden_module_cti(granularity, device='cpu')
Factory function to create a ScadenModule with predefined parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
version
|
The version of the ScadenModule to create. |
required |
Returns:
Type | Description |
---|---|
Module
|
An instance of ScadenModule with the specified version. |
Source code in src/pydeconv/model/nn/registry.py
tape_module_cti(granularity, adaptative, device='cpu')
Factory function to create a ScadenModule with predefined parameters.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
version
|
The version of the ScadenModule to create. |
required |
Returns:
Type | Description |
---|---|
nn.Module: An instance of ScadenModule with the specified version.
|
|