peal.architectures.predictors.SequentialModel

class peal.architectures.predictors.SequentialModel[source]

Bases: Sequential

A sequential model that is defined by a list of layers.

Methods

__init__(architecture_config, input_channels, output_channels=None, dropout=0.0)[source]

This function initializes the sequential model. :param architecture_config: The config of the architecture. :param input_channels: The number of input channels of the model. :param output_channels: The number of output channels of the model.

Parameters:
  • architecture_config (ArchitectureConfig)

  • input_channels (pydantic.PositiveInt)

  • output_channels (pydantic.PositiveInt)

  • dropout (float)