src.tests.geometric_affine_layer_test
Classes
- class src.tests.geometric_affine_layer_test.GeometricAffineLayerTest
- Author:
Alberto M. Esmoris Pena
Geometric affine layer test that checks the operations of a geometric affine layer yield the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run geometric affine layer test.
- Returns:
True if
GeometricAffineLayerworks as expected for the test cases, False otherwise.- Return type:
bool
- validate(inputs, gal, gal_out)
Check whether the
GeometricAffineLayeryielded the expected output (True) or not (False).- Parameters:
inputs – The inputs to the layer.
gal (
GeometricAffineLayer) – The layer.gal_out – The output of the layer.
- Returns:
True if the output is okay, False otherwise.