pooling

package
v1.0.0-alpha.0-tests Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaxPooling

type MaxPooling[T mat.DType] struct {
	nn.BaseModel
	Rows    int
	Columns int
}

MaxPooling is a parameter-free model used to instantiate a new Processor.

func NewMax

func NewMax[T mat.DType](rows, columns int) *MaxPooling[T]

NewMax returns a new model.

func (*MaxPooling[T]) Forward

func (m *MaxPooling[T]) Forward(xs ...ag.Node[T]) []ag.Node[T]

Forward performs the forward step for each input node and returns the result. The max pooling is applied independently to each input.

Jump to

Keyboard shortcuts

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