peal.architectures.interfaces.ResnetConfig¶
- class peal.architectures.interfaces.ResnetConfig[source]¶
Bases:
BaseModelThe config template for a ResNet layer.
Methods
Attributes
The type of config.
Number of blocks per layer.
The number of neurons in the layer.
The dimension of the tensor.
Whether to use batchnorm or not.
- config_name: str = 'ResnetConfig'¶
The type of config. This is necessary to find config class from yaml config
- num_neurons: pydantic.PositiveInt = 512¶
The number of neurons in the layer.
- num_blocks: pydantic.PositiveInt = 2¶
Number of blocks per layer.
- tensor_dim: pydantic.PositiveInt = 2¶
The dimension of the tensor. Options: [1, 2, 3]