module onnxrt.ops_cpu.op_window#

Inheritance diagram of mlprodict.onnxrt.ops_cpu.op_window

Short summary#

module mlprodict.onnxrt.ops_cpu.op_window

Runtime operator.

source on GitHub

Classes#

class

truncated documentation

_CommonWindow

BlackmanWindow

Returns \omega_n = 0.42 - 0.5 \cos \left( \frac{2\pi n}{N-1} \right) + 0.08 \cos \left( \frac{4\pi n}{N-1} \right)

HammingWindow

Returns \omega_n = \alpha - \beta \cos \left( \frac{\pi n}{N-1} \right) where N is the window length. …

HannWindow

Returns \omega_n = \sin^2\left( \frac{\pi n}{N-1} \right) where N is the window length. See hann_window

Properties#

property

truncated documentation

args_default

Returns the list of arguments as well as the list of parameters with the default values (close to the signature). …

args_default

Returns the list of arguments as well as the list of parameters with the default values (close to the signature). …

args_default

Returns the list of arguments as well as the list of parameters with the default values (close to the signature). …

args_default_modified

Returns the list of modified parameters.

args_default_modified

Returns the list of modified parameters.

args_default_modified

Returns the list of modified parameters.

args_mandatory

Returns the list of optional arguments.

args_mandatory

Returns the list of optional arguments.

args_mandatory

Returns the list of optional arguments.

args_optional

Returns the list of optional arguments.

args_optional

Returns the list of optional arguments.

args_optional

Returns the list of optional arguments.

atts_value

Returns all parameters in a dictionary.

atts_value

Returns all parameters in a dictionary.

atts_value

Returns all parameters in a dictionary.

Methods#

method

truncated documentation

__init__

__init__

__init__

_begin

_begin

_begin

_begin

_end

_end

_end

_end

_run

_run

_run

Documentation#

Runtime operator.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_window.BlackmanWindow(onnx_node, desc=None, **options)#

Bases: OpRun, _CommonWindow

Returns \omega_n = 0.42 - 0.5 \cos \left( \frac{2\pi n}{N-1} \right) +
0.08 \cos \left( \frac{4\pi n}{N-1} \right) where N is the window length. See blackman_window

source on GitHub

__init__(onnx_node, desc=None, **options)#
_run(size, attributes=None, verbose=0, fLOG=None)#

Should be overwritten.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_window.HammingWindow(onnx_node, desc=None, **options)#

Bases: OpRun, _CommonWindow

Returns \omega_n = \alpha - \beta \cos \left( \frac{\pi n}{N-1} \right) where N is the window length. See hamming_window. alpha=0.54, beta=0.46

source on GitHub

__init__(onnx_node, desc=None, **options)#
_run(size, attributes=None, verbose=0, fLOG=None)#

Should be overwritten.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_window.HannWindow(onnx_node, desc=None, **options)#

Bases: OpRun, _CommonWindow

Returns \omega_n = \sin^2\left( \frac{\pi n}{N-1} \right) where N is the window length. See hann_window

source on GitHub

__init__(onnx_node, desc=None, **options)#
_run(size, attributes=None, verbose=0, fLOG=None)#

Should be overwritten.

source on GitHub

class mlprodict.onnxrt.ops_cpu.op_window._CommonWindow#

Bases: object

_begin(size)#
_end(size, res)#