dmx.compressor.functional.approximate.ApproximationMixin
- class dmx.compressor.functional.approximate.ApproximationMixin(*args, **kwargs)
Mixin to equip modules with approximated forward logic through Approximator
- __init__(*args, **kwargs) None
Methods
__init__(*args, **kwargs)approx_forward(inputs, *args, **kwargs)approximator_wrapper(inputs, approx_args, ...)Override this in the DMX modules to enable pre-processing of the inputs, and the SIMD approximator arguments before calling the SIMD reference kernels.
Attributes