src.tests.strided_light_kpconv_layer_test
Classes
- class src.tests.strided_light_kpconv_layer_test.StridedLightKPConvLayerTest
- Author:
Alberto M. Esmoris Pena
Strided light kernel point convolution (Strided Light KPConv) layer test that checks the operation of a strided light KPConv yields the expected results.
- __init__()
Basic configuration for any VL3D test.
- Parameters:
name (str) – Test name
- run()
Run Strided Light KPConv layer test.
- Returns:
True if
StridedLightKPConvLayerworks as expected for the test cases, False otherwise.- Rtype bool:
- validate_no_activation(inputs, nneighs, Dout, slkpcl, slkpcl_out)
Check whether the
StridedLightKPConvLayeryielded 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.
slkpcl (
StridedLightKPConvLayer) – The layer.slkpcl_out – The output of the layer.
- Returns:
True if the output is okay, False otherwise
- Return type:
bool