Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand

PaddingMode

public 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