Documentation
¶
Overview ¶
Package majpool2d implements a 2D majority pooling layer and combiner
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MajPool2D ¶
type MajPool2D struct {
// contains filtered or unexported fields
}
func (*MajPool2D) Disregard ¶
Disregard tells whether putting value false at position n would not affect any feature output (as opposed to putting value true at position n).
type MajPool2DLayer ¶
type MajPool2DLayer struct {
// contains filtered or unexported fields
}
func MustNew ¶
func MustNew(width, height, subwidth, subheight, capwidth, capheight, repeat int) *MajPool2DLayer
MustNew creates a new MajPool2D layer with size, subsize and repeat
func New ¶
func New(width, height, subwidth, subheight, capwidth, capheight, repeat int) (o *MajPool2DLayer, err error)
New creates a new MajPool2D layer with size, subsize and repeat
func (*MajPool2DLayer) Lay ¶
func (i *MajPool2DLayer) Lay() layer.Combiner
Lay turns MajPool2D layer into a combiner
Click to show internal directories.
Click to hide internal directories.