Documentation
¶
Overview ¶
Package majpool2d implements a 2D majority pooling layer and combiner
Index ¶
- type MajPool2D
- type MajPool2DLayer
- func MustNew(width, height, subwidth, subheight, capwidth, capheight, repeat int) *MajPool2DLayer
- func MustNew2(width, height, subwidth, subheight, capwidth, capheight, repeat, bias int) *MajPool2DLayer
- func New(width, height, subwidth, subheight, capwidth, capheight, repeat int) (*MajPool2DLayer, error)
- func New2(width, height, subwidth, subheight, capwidth, capheight, repeat, bias int) (o *MajPool2DLayer, err error)
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 MustNew2 ¶ added in v0.0.5
func MustNew2(width, height, subwidth, subheight, capwidth, capheight, repeat, bias int) *MajPool2DLayer
MustNew2 creates a new MajPool2D layer with size, subsize and repeat
func New ¶
func New(width, height, subwidth, subheight, capwidth, capheight, repeat int) (*MajPool2DLayer, error)
New creates a new MajPool2D layer with size, subsize and repeat
func New2 ¶ added in v0.0.5
func New2(width, height, subwidth, subheight, capwidth, capheight, repeat, bias int) (o *MajPool2DLayer, err error)
New2 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.