dense

package
v0.0.0-...-2c46ed6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dense

type Dense struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *Dense

func (*Dense) Activate

func (d *Dense) Activate(x *tensor.Vector) *tensor.Vector

func (*Dense) Adjust

func (d *Dense) Adjust(delta *[][]float64)

func (*Dense) Bytes

func (d *Dense) Bytes() (weights []byte, err error)

func (*Dense) Derive

func (d *Dense) Derive(activation, cost *tensor.Vector)

func (*Dense) Init

func (d *Dense) Init(neuronsCount, weightsCount int)

func (*Dense) Load

func (d *Dense) Load(b []byte) error

func (*Dense) NextCost

func (d *Dense) NextCost(cost *tensor.Vector) *tensor.Vector

func (*Dense) Size

func (d *Dense) Size() int

type Option

type Option func(*Dense)

func WithReLU

func WithReLU() Option

func WithSigmoid

func WithSigmoid() Option

func WithSoftmax

func WithSoftmax() Option

Jump to

Keyboard shortcuts

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