7 #include "ngraph/op/op.hpp"
18 static constexpr
NodeTypeInfo type_info{
"ExtractImagePatches", 3};
39 virtual std::shared_ptr<Node>
40 clone_with_new_inputs(
const OutputVector& new_args)
const override;
42 const Shape& get_sizes()
const {
return m_patch_sizes; }
43 void set_sizes(
const Shape& sizes) { m_patch_sizes = sizes; }
44 const Strides& get_strides()
const {
return m_patch_movement_strides; }
45 void set_strides(
const Strides& strides) { m_patch_movement_strides = strides; }
46 const Shape& get_rates()
const {
return m_patch_selection_rates; }
47 void set_rates(
const Shape& rates) { m_patch_selection_rates = rates; }
48 const PadType& get_auto_pad()
const {
return m_padding; }
49 void set_auto_pad(
PadType& padding) { m_padding = padding; }
53 Strides m_patch_movement_strides;
54 Shape m_patch_selection_rates;
58 using v3::ExtractImagePatches;
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Shape for a tensor.
Definition: shape.hpp:19
Strides for a tensor.
Definition: strides.hpp:18
Root of all actual ops.
Definition: op.hpp:17
PadType
Padding Type used for Convolution and Pooling
Definition: attr_types.hpp:61
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16