src.tests.upsampling_spconv3d_layer_test

Classes

UpsamplingSpConv3DLayerTest()

class src.tests.upsampling_spconv3d_layer_test.UpsamplingSpConv3DLayerTest
Author:

Alberto M. Esmoris Pena

Test for the upsampling SpConv 3D layer. Same structure as the downsampling test, but with the upsampling table U mapping depth \(t + 1\) features to depth \(t\).

__init__()

Basic configuration for any VL3D test.

Parameters:

name (str) – Test name

run()

Run the test.

Returns:

True if test is successfully passed, False otherwise.

Return type:

bool

subtest_layer_matches_numpy(wU=2)
subtest_ground_row_invariant()
subtest_static_method_unpadded()
subtest_active_form_random_eq(wU=2)

Active-form variant must be bit-equivalent to pad-based.

subtest_active_form_edge_all_sentinel()

All-zero U — outputs must be zero in both paths.