src.tests.kpconvx_layer_test

Classes

KPConvXLayerTest()

class src.tests.kpconvx_layer_test.KPConvXLayerTest
Author:

Alberto M. Esmoris Pena

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

__init__()

Basic configuration for any VL3D test.

Parameters:

name (str) – Test name

run()

Run KPConvX layer test.

Returns:

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

Return type:

bool

validate(inputs, kpcxl, kpcxl_out)

Check whether the KPConvXLayer yielded the expected output (True) or not (False).

Parameters:
  • inputs – The inputs to the layer.

  • kpcxl – The layer.

  • kpcxl_out – The output of the layer.

Class kpcxl:

KPConvXLayer

Returns:

True if the output is okay, False otherwise.