costs

package
v0.0.0-...-32ffa8f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2017 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrossEntropyCost

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

func NewCrossEntropyCostFunction

func NewCrossEntropyCostFunction(size ...int) *CrossEntropyCost

func (*CrossEntropyCost) BackPropagate

func (c *CrossEntropyCost) BackPropagate() *tensor.Tensor

func (*CrossEntropyCost) Cost

func (c *CrossEntropyCost) Cost(input *tensor.Tensor, target *tensor.Tensor) float64

func (*CrossEntropyCost) CreateSlave

func (c *CrossEntropyCost) CreateSlave() weight.BPCostFunc

type SquareMeanCost

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

func NewSquareMeanCostFunction

func NewSquareMeanCostFunction(size ...int) *SquareMeanCost

func (*SquareMeanCost) BackPropagate

func (c *SquareMeanCost) BackPropagate() *tensor.Tensor

func (*SquareMeanCost) Cost

func (c *SquareMeanCost) Cost(input *tensor.Tensor, target *tensor.Tensor) float64

func (*SquareMeanCost) CreateSlave

func (c *SquareMeanCost) CreateSlave() weight.BPCostFunc

Jump to

Keyboard shortcuts

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