Factory class which generates sub-graphs for ONNX 'regular' pooling operators. More...
#include <pooling_factory.hpp>
Public Member Functions | |
OutputVector | make_avg_pool () const |
Creates average pooling ONNX operation. More... | |
OutputVector | make_max_pool () const |
Creates max pooling ONNX operation. More... | |
Protected Member Functions | |
PoolingFactory (const Node &node) | |
Protected Attributes | |
Node | m_onnx_node |
const OutputVector | m_inputs |
Shape | m_kernel_shape |
Strides | m_strides |
Strides | m_dilations |
Shape | m_padding_below |
Shape | m_padding_above |
ngraph::op::PadType | m_auto_pad |
Factory class which generates sub-graphs for ONNX 'regular' pooling operators.
This base class holds all common attributes like srides, dilations, paddings, kernel shape and auto_pad type.
OutputVector ngraph::onnx_import::pooling::PoolingFactory::make_avg_pool | ( | ) | const |
Creates average pooling ONNX operation.
OutputVector ngraph::onnx_import::pooling::PoolingFactory::make_max_pool | ( | ) | const |
Creates max pooling ONNX operation.