src.tests.point_mlp_layer_test
Classes
- class src.tests.point_mlp_layer_test.PointMLPLayerTest
- Author:
Alberto M. Esmoris Pena
Point NLP layer test that checks the operations of a Point MLP alyer yield the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run Point MLP layer test.
- Returns:
True if
PointMLPLayerworks as expected for the test cases, False otherwise.- Return type:
bool
- validate(inputs, pml, pml_out)
Check whether the
PointMLPLayeryielded the expected output (True) or not (False).- Parameters:
inputs – The inputs to the layer.
pml (
PointMLPLayer) – The layer.pml_out – The output of the layer.
- Returns:
True if the output is okay, False otherwise.