src.tests.contextual_point_layer_test
Classes
- class src.tests.contextual_point_layer_test.ContextualPointLayerTest
- Author:
Alberto M. Esmoris Pena
Contextual point layer test that checks the operations of a contextual point layer yield the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run contextual point layer test.
- Returns:
True if
ContextualPointLayerworks as expected for the test cases, False otherwise.- Return type:
bool
- validate(inputs, Dout, DH, cpl, cpl_out)
Check whether the
ContextualPointLayeryielded the expected output (True) or not (False).- Parameters:
inputs – The inputs to the layer.
Dout – The output dimensionality.
DH – The dimensionality of the hidden feature space.
cpl (
ContextualPointLayer) – The layer.cpl_out – The output of the layer.
- Returns:
True if the output is okay, False otherwise.