V4¶
Model definition used in the Sîmpetru et al. (2024)
- class myoverse.models.definitions.raul_net.offline.v4.CircularPad[source]¶
Circular padding layer
Initialize internal Module state, shared by both nn.Module and ScriptModule.
- forward(x)[source]¶
Define the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.- Return type:
- class myoverse.models.definitions.raul_net.offline.v4.RaulNetV4(learning_rate, nr_of_input_channels, input_length__samples, nr_of_outputs, cnn_encoder_channels, mlp_encoder_channels, event_search_kernel_length, event_search_kernel_stride)[source]¶
Model definition used in Sîmpetru et al. [1]
- Parameters:
- cnn_encoder_channels¶
Tuple containing 3 integers defining the cnn encoder channels.
- mlp_encoder_channels¶
Tuple containing 2 integers defining the mlp encoder channels.
- event_search_kernel_length¶
Integer that sets the length of the kernels searching for action potentials.
- Type:
- event_search_kernel_stride¶
Integer that sets the stride of the kernels searching for action potentials.
- Type:
Notes
- forward(inputs)[source]¶
Same as
torch.nn.Module.forward
.- Parameters:
*args – Whatever you decide to pass into the forward method.
**kwargs – Keyword arguments are also possible.
- Returns:
Your model’s output
- Return type: