src.tests.kpconvx_layer_test
Classes
- 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
KPConvXLayerworks as expected for the test cases, False otherwise.- Return type:
bool
- validate(inputs, kpcxl, kpcxl_out)
Check whether the
KPConvXLayeryielded 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:
- Returns:
True if the output is okay, False otherwise.