padding

package
v0.0.0-...-1611311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL