Documentation ¶ Index ¶ type Padding func PaddingString(s string) (Padding, error) func (i Padding) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Padding ¶ type Padding int Padding is an enum to define the type of the padding required const ( // SAME padding causes output shape being equal to input shape SAME Padding = iota // VALID padding causes output shape being smaller than input shape VALID ) func PaddingString ¶ func PaddingString(s string) (Padding, error) func (Padding) String ¶ func (i Padding) String() string Source Files ¶ View all Source files padding_string.go types.go Click to show internal directories. Click to hide internal directories.