cupyx.scipy.signal.choose_conv_method#
- cupyx.scipy.signal.choose_conv_method(in1, in2, mode='full')[source]#
Find the fastest convolution/correlation method.
- Parameters:
in1 (cupy.ndarray) – first input.
in2 (cupy.ndarray) – second input.
mode (str, optional) –
'valid'
,'same'
,'full'
.
- Returns:
A string indicating which convolution method is fastest, either
'direct'
or'fft'
.- Return type:
Warning
This function currently doesn’t support measure option, nor multidimensional inputs. It does not guarantee the compatibility of the return value to SciPy’s one.
See also