enum ov::op::PadType

Overview

Padding Type used for Convolution and Pooling More…

#include <attr_types.hpp>

enum PadType
{
    EXPLICIT   = 0,
    SAME_LOWER,
    SAME_UPPER,
    VALID,
    AUTO       = SAME_UPPER,
    NOTSET     = EXPLICIT,
};

Detailed Documentation

Padding Type used for Convolution and Pooling

Follows ONNX padding type definitions EXPLICIT - Pad dimensions are explicity specified SAME_LOWER - Pad dimensions computed to match input shape Ceil(num_dims/2) at the beginning and Floor(num_dims/2) at the end SAME_UPPER - Pad dimensions computed to match input shape Floor(num_dims/2) at the beginning and Ceil(num_dims/2) at the end VALID - No padding AUTO - Deprecated. User should not use it in the future NOTSET - Deprecated. User should not use it in the future