src.tests.ragged_losses_test
Classes
- class src.tests.ragged_losses_test.RaggedLossesTest
- Author:
Alberto M. Esmoris Pena
Ragged losses test that checks the operations of loss functions work with ragged tensors and yield the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run ragged losses test.
- Returns:
True if ragged losses work as expected for the test cases, False otherwise.
- Return type:
bool
- static test_classification_losses(eps)
- static test_ragged_classification_losses(eps)