Closed RaymondY closed 6 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pyod/test/test_vae_torch.py | 99 | 100 | 99.0% | ||
pyod/models/auto_encoder_torch.py | 53 | 56 | 94.64% | ||
pyod/models/vae_torch.py | 144 | 149 | 96.64% | ||
pyod/utils/torch_utility.py | 59 | 80 | 73.75% | ||
<!-- | Total: | 362 | 392 | 92.35% | --> |
Totals | |
---|---|
Change from base Build 8309419980: | -0.08% |
Covered Lines: | 9297 |
Relevant Lines: | 9925 |
it appears that mac tests failed -- maybe take a look but I could also help!
torch_utility
includes:
PyODDataset
, custom PyTorch datasetLinearBlock
, includes linear layer, batch normalization, activation function, dropout layer, and linear layer weight initget_activation_by_name
, includes 7 common activation functionsinit_weights
, includes all weight initialization methodsUtility functions and classes are applied in VAE and AutoEncoder.
Note:
torch.compile()
to speed up (not used by default). Available for PyTorch version >=2.0.0 and Python version < 3.12.
All Submissions Basics:
All Submissions Cores:
New Model Submissions: