tnmf.tests.test_stream

Test the decomposition on multiple image patches that are supplied to the method via an iterator object as representative for streaming data. Reconstruction of the final subsample is verified against pre-computed reference values.

Module Contents

Functions

test_with_array(algorithm: int)

test_with_generator(algorithm: int)

test_with_generator_limited()

Attributes

expected_energies

img

shape

image_shape

patch_shape

byte_size

image_strides

V

V

tnmf.tests.test_stream.expected_energies
tnmf.tests.test_stream.img
tnmf.tests.test_stream.shape
tnmf.tests.test_stream.image_shape
tnmf.tests.test_stream.patch_shape
tnmf.tests.test_stream.byte_size
tnmf.tests.test_stream.image_strides
tnmf.tests.test_stream.V
tnmf.tests.test_stream.V
tnmf.tests.test_stream.test_with_array(algorithm: int)
tnmf.tests.test_stream.test_with_generator(algorithm: int)
tnmf.tests.test_stream.test_with_generator_limited()