mindspore.dataset.audio.BorderType

class mindspore.dataset.audio.BorderType[源代码]

Padding Mode, BorderType Type.

Possible enumeration values are: BorderType.CONSTANT, BorderType.EDGE, BorderType.REFLECT, BorderType.SYMMETRIC.

  • BorderType.CONSTANT: means it fills the border with constant values.

  • BorderType.EDGE: means it pads with the last value on the edge.

  • BorderType.REFLECT: means it reflects the values on the edge omitting the last value of edge.

  • BorderType.SYMMETRIC: means it reflects the values on the edge repeating the last value of edge.

Note: This class derived from class str to support json serializable.