custom_op_test module

Simple script used to test the correctness of the custom op unsort.

The expected behaviour is that the last two matrices printed (exact_output and output) to be similar (or the same).

custom_op_test.decompose(weights)[source]

This function converts the weights (the kernel matrix) to the approximating representation of indices and mean. See details in custom_layer_test.CompressedPrototype.