|
pulsatrix 1.1.0
|
A torchvision ResNet with basic blocks (ResNet18 and ResNet34; ResNet18 is the one tested on the published weights). More...
#include <vision_models.hpp>
Public Attributes | |
| std::vector< int64_t > | blocks = {2, 2, 2, 2} |
| Blocks per stage: {2, 2, 2, 2} is ResNet18, {3, 4, 6, 3} ResNet34. | |
| int64_t | width = 64 |
| The first stage's channels, doubled at each later stage (torchvision: 64). | |
| int64_t | num_classes = 1000 |
| int64_t | in_channels = 3 |
A torchvision ResNet with basic blocks (ResNet18 and ResNet34; ResNet18 is the one tested on the published weights).
| std::vector<int64_t> pulsatrix::ResNetConfig::blocks = {2, 2, 2, 2} |
Blocks per stage: {2, 2, 2, 2} is ResNet18, {3, 4, 6, 3} ResNet34.
| int64_t pulsatrix::ResNetConfig::in_channels = 3 |
| int64_t pulsatrix::ResNetConfig::num_classes = 1000 |
| int64_t pulsatrix::ResNetConfig::width = 64 |
The first stage's channels, doubled at each later stage (torchvision: 64).