src.tests.grouping_point_net_layer_test
Classes
- class src.tests.grouping_point_net_layer_test.GroupingPointNetLayerTest
- Author:
Alberto M. Esmoris Pena
Grouping PointNet layer test that checks the operations of a grouping PointNet layer yield the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run grouping PointNet layer test.
- Returns:
True if
GroupingPointNetLayerworks as expected for the test cases, False otherwise.- Return type:
bool
- validate_no_activation(inputs, nneighs, Dout, gpnl, gpnl_out)
Check whether the no-activated
GroupingPointNetLayeryielded the expected output (True) or not (False).- Parameters:
inputs – The inputs to the layer.
nneighs – The number of neighbors per group.
Dout – The output dimensionality.
gpnl (
GroupingPointNetLayer) – The layer.gpnl_out – The output of the layer.
- Returns:
True if the output is okay, False otherwise.