src.tests.strided_light_kpconv_layer_test

Classes

StridedLightKPConvLayerTest()

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 StridedLightKPConvLayer works as expected for the test cases, False otherwise.

Rtype bool:

validate_no_activation(inputs, nneighs, Dout, slkpcl, slkpcl_out)

Check whether the StridedLightKPConvLayer yielded 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