Scaden
ScadenModule
Bases: Module
ScadenModule is a simple implementation of the Scaden model from the original implementation. paper: https://www.nature.com/articles/s41467-022-34550-9
This module is a combination of three ScadenBaseModule with different parameters.
Attributes:
Name | Type | Description |
---|---|---|
model_256 |
ScadenBaseModule
|
ScadenBaseModule with 256 hidden units. |
model_512 |
ScadenBaseModule
|
ScadenBaseModule with 512 hidden units. |
model_1024 |
ScadenBaseModule
|
ScadenBaseModule with 1024 hidden |
Methods:
Name | Description |
---|---|
forward |
Forward pass of the model. |
Source code in src/pydeconv/model/nn/scaden.py
__init__(input_dim, output_dim, model_params_dict)
ScadenModule is a simple implementation of the Scaden model from the original implementation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_dim
|
int
|
Input dimension. |
required |
output_dim
|
int
|
Output dimension. |
required |
model_params_dict
|
dict
|
model parameters. |
required |
Source code in src/pydeconv/model/nn/scaden.py
forward(x)
Forward pass of the model.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x
|
Tensor
|
Input tensor. |
required |
Returns:
Type | Description |
---|---|
Tensor
|
Output |