src.tests.kpconv_layer_test

Classes

KPConvLayerTest()

class src.tests.kpconv_layer_test.KPConvLayerTest
Author:

Alberto M. Esmoris Pena

Kernel point convolution (KPConv) layer test that checks the operations of a KPConv layer yield the expected results.

__init__()

Basic configuration for any VL3D test.

Parameters:

name (str) – Test name

run()

Run KPConv layer test.

Returns:

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

Return type:

bool

validate_no_activation(inputs, nneighs, Dout, kpcl, kpcl_out)

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

  • kpcl (KPConvLayer) – The layer.

  • kpcl_out – The output of the layer.

Returns:

True if the output is okay, False otherwise.