PaddingMode
public enum PaddingMode: Int
Padding mode for operators involving with kernel calculation, like pooling and convolution operators. We follow same behavior as TensorFlow defined.
Valid padding
No padding at all when moving kernel on input tensor.
Same padding
Padding to cover all elements
-
Undocumented
Declaration
Swift
case Valid = 0
-
Undocumented
Declaration
Swift
case Same = 1
-
Undocumented
Declaration
Swift
var description: String