src.tests.custom_pwise_losses_test
Classes
- class src.tests.custom_pwise_losses_test.CustomPwiseLossesTest
- Author:
Alberto M. Esmoris Pena
Custom point-wise losses test that checks the operations of custom loss functions (typically point-wise and class-weighted) work as expected.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run custom point-wise losses test.
- Returns:
True if custom point-wise losses work as expected for the test cases, False otherwise.
- Return type:
bool
- static test_cwbce(eps)
- static test_cwcce(eps)
- static test_cwfcce(eps)
- static test_cwfbce(eps)