arrlp.sig_maxifilter module

arrlp.sig_maxifilter(array, *args, out=None, stacks: bool = False, channels: bool = False, parallel: bool = False, cuda: bool = False, test=False, iterator=<class 'range'>, **kwargs)

This class defines a function for various array configurations.

Parameters:
  • ndims (int) – Number of dimensions of the base array.

  • cpu_function (types.FunctionType) – Cpu function.

  • par_function (types.FunctionType) – Par function.

  • gpu_function (types.FunctionType) – Gpu function.

  • out_function (types.FunctionType) – Function defining output array.

  • ini_function (types.FunctionType) – Function defining initialization kwargs.

  • cpu_loop (bool) – True if cpu_function applyies default loop.

  • par_loop (bool) – True if par_function applyies default loop.

  • gpu_loop (bool) – True if gpu_function applyies default loop.

  • use_joblib (bool) – True to use joblib for parallel processes in parallel loop.

  • remove_parallel (bool) – True if the parallel implementation is slower than normal python.

  • remove_cuda (bool) – True if the cuda implementation is slower than normal python.

Examples

>>> from arrlp import FunctionArray
...
>>> instance = FunctionArray(TODO)