PaddingMode

enum PaddingMode

A mode that dictates how a tensor is padded.

  • Pads with constant value.

    Declaration

    case constant(Scalar)
  • Mirrors values along padding dimensions, excluding the edge value.

    Declaration

    case reflect
  • Mirrors values along padding dimensions, including the edge value.

    Declaration

    case symmetric