src.tests.light_kpconv_layer_test

Classes

LightKPConvLayerTest()

class src.tests.light_kpconv_layer_test.LightKPConvLayerTest
Author:

Alberto M. Esmoris Pena

Light kernel point convolution (LightKPConv) layer test that checks the operations of a light KPConv layer yield the expected results.

__init__()

Basic configuration for any VL3D test.

Parameters:

name (str) – Test name

run()

Run light KPConv layer test.

Returns:

True if LightKPConvLayer works as expected for the test cases, False otherwise.

Return type:

bool

validate_no_activation(inputs, nneighs, Dout, lkpcl, lkpcl_out)

Check whether the LightKPConvLayer 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.

  • lkpcl (LightKPConvLayer) – The layer.

  • lkpcl_out – The output of the layer.

Returns:

True if the output is okay, False otherwise.