optimizer

package
v0.26.28 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UniqueName

func UniqueName(name string) string

Types

type OAdadelta

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

func Adadelta

func Adadelta() *OAdadelta

func (*OAdadelta) GetCustomLayerDefinition

func (o *OAdadelta) GetCustomLayerDefinition() string

func (*OAdadelta) GetKerasLayerConfig

func (o *OAdadelta) GetKerasLayerConfig() interface{}

func (*OAdadelta) SetDecay

func (o *OAdadelta) SetDecay(decay float64) *OAdadelta

func (*OAdadelta) SetEpsilon

func (o *OAdadelta) SetEpsilon(epsilon float64) *OAdadelta

func (*OAdadelta) SetLearningRate

func (o *OAdadelta) SetLearningRate(learningRate float64) *OAdadelta

func (*OAdadelta) SetName

func (o *OAdadelta) SetName(name string) *OAdadelta

func (*OAdadelta) SetRho

func (o *OAdadelta) SetRho(rho float64) *OAdadelta

type OAdagrad

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

func Adagrad

func Adagrad() *OAdagrad

func (*OAdagrad) GetCustomLayerDefinition

func (o *OAdagrad) GetCustomLayerDefinition() string

func (*OAdagrad) GetKerasLayerConfig

func (o *OAdagrad) GetKerasLayerConfig() interface{}

func (*OAdagrad) SetDecay

func (o *OAdagrad) SetDecay(decay float64) *OAdagrad

func (*OAdagrad) SetEpsilon

func (o *OAdagrad) SetEpsilon(epsilon float64) *OAdagrad

func (*OAdagrad) SetInitialAccumulatorValue

func (o *OAdagrad) SetInitialAccumulatorValue(initialAccumulatorValue float64) *OAdagrad

func (*OAdagrad) SetLearningRate

func (o *OAdagrad) SetLearningRate(learningRate float64) *OAdagrad

func (*OAdagrad) SetName

func (o *OAdagrad) SetName(name string) *OAdagrad

type OAdam

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

func Adam

func Adam() *OAdam

func (*OAdam) GetCustomLayerDefinition

func (o *OAdam) GetCustomLayerDefinition() string

func (*OAdam) GetKerasLayerConfig

func (o *OAdam) GetKerasLayerConfig() interface{}

func (*OAdam) SetAmsgrad

func (o *OAdam) SetAmsgrad(amsgrad bool) *OAdam

func (*OAdam) SetBeta1

func (o *OAdam) SetBeta1(beta1 float64) *OAdam

func (*OAdam) SetBeta2

func (o *OAdam) SetBeta2(beta2 float64) *OAdam

func (*OAdam) SetDecay

func (o *OAdam) SetDecay(decay float64) *OAdam

func (*OAdam) SetEpsilon

func (o *OAdam) SetEpsilon(epsilon float64) *OAdam

func (*OAdam) SetLearningRate

func (o *OAdam) SetLearningRate(learningRate float64) *OAdam

func (*OAdam) SetName

func (o *OAdam) SetName(name string) *OAdam

type OAdamax

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

func Adamax

func Adamax() *OAdamax

func (*OAdamax) GetCustomLayerDefinition

func (o *OAdamax) GetCustomLayerDefinition() string

func (*OAdamax) GetKerasLayerConfig

func (o *OAdamax) GetKerasLayerConfig() interface{}

func (*OAdamax) SetBeta1

func (o *OAdamax) SetBeta1(beta1 float64) *OAdamax

func (*OAdamax) SetBeta2

func (o *OAdamax) SetBeta2(beta2 float64) *OAdamax

func (*OAdamax) SetDecay

func (o *OAdamax) SetDecay(decay float64) *OAdamax

func (*OAdamax) SetEpsilon

func (o *OAdamax) SetEpsilon(epsilon float64) *OAdamax

func (*OAdamax) SetLearningRate

func (o *OAdamax) SetLearningRate(learningRate float64) *OAdamax

func (*OAdamax) SetName

func (o *OAdamax) SetName(name string) *OAdamax

type OFtrl

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

func Ftrl

func Ftrl() *OFtrl

func (*OFtrl) GetCustomLayerDefinition

func (o *OFtrl) GetCustomLayerDefinition() string

func (*OFtrl) GetKerasLayerConfig

func (o *OFtrl) GetKerasLayerConfig() interface{}

func (*OFtrl) SetBeta

func (o *OFtrl) SetBeta(beta float64) *OFtrl

func (*OFtrl) SetDecay

func (o *OFtrl) SetDecay(decay float64) *OFtrl

func (*OFtrl) SetInitialAccumulatorValue

func (o *OFtrl) SetInitialAccumulatorValue(initialAccumulatorValue float64) *OFtrl

func (*OFtrl) SetL1RegularizationStrength

func (o *OFtrl) SetL1RegularizationStrength(l1RegularizationStrength float64) *OFtrl

func (*OFtrl) SetL2RegularizationStrength

func (o *OFtrl) SetL2RegularizationStrength(l2RegularizationStrength float64) *OFtrl

func (*OFtrl) SetL2ShrinkageRegularizationStrength

func (o *OFtrl) SetL2ShrinkageRegularizationStrength(l2ShrinkageRegularizationStrength float64) *OFtrl

func (*OFtrl) SetLearningRate

func (o *OFtrl) SetLearningRate(learningRate float64) *OFtrl

func (*OFtrl) SetLearningRatePower

func (o *OFtrl) SetLearningRatePower(learningRatePower float64) *OFtrl

func (*OFtrl) SetName

func (o *OFtrl) SetName(name string) *OFtrl

type ONadam

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

func Nadam

func Nadam() *ONadam

func (*ONadam) GetCustomLayerDefinition

func (o *ONadam) GetCustomLayerDefinition() string

func (*ONadam) GetKerasLayerConfig

func (o *ONadam) GetKerasLayerConfig() interface{}

func (*ONadam) SetBeta1

func (o *ONadam) SetBeta1(beta1 float64) *ONadam

func (*ONadam) SetBeta2

func (o *ONadam) SetBeta2(beta2 float64) *ONadam

func (*ONadam) SetDecay

func (o *ONadam) SetDecay(decay float64) *ONadam

func (*ONadam) SetEpsilon

func (o *ONadam) SetEpsilon(epsilon float64) *ONadam

func (*ONadam) SetLearningRate

func (o *ONadam) SetLearningRate(learningRate float64) *ONadam

func (*ONadam) SetName

func (o *ONadam) SetName(name string) *ONadam

type ORMSprop

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

func RMSprop

func RMSprop() *ORMSprop

func (*ORMSprop) GetCustomLayerDefinition

func (o *ORMSprop) GetCustomLayerDefinition() string

func (*ORMSprop) GetKerasLayerConfig

func (o *ORMSprop) GetKerasLayerConfig() interface{}

func (*ORMSprop) SetCentered

func (o *ORMSprop) SetCentered(centered bool) *ORMSprop

func (*ORMSprop) SetDecay

func (o *ORMSprop) SetDecay(decay float64) *ORMSprop

func (*ORMSprop) SetEpsilon

func (o *ORMSprop) SetEpsilon(epsilon float64) *ORMSprop

func (*ORMSprop) SetLearningRate

func (o *ORMSprop) SetLearningRate(learningRate float64) *ORMSprop

func (*ORMSprop) SetMomentum

func (o *ORMSprop) SetMomentum(momentum float64) *ORMSprop

func (*ORMSprop) SetName

func (o *ORMSprop) SetName(name string) *ORMSprop

func (*ORMSprop) SetRho

func (o *ORMSprop) SetRho(rho float64) *ORMSprop

type OSGD

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

func SGD

func SGD() *OSGD

func (*OSGD) GetCustomLayerDefinition

func (o *OSGD) GetCustomLayerDefinition() string

func (*OSGD) GetKerasLayerConfig

func (o *OSGD) GetKerasLayerConfig() interface{}

func (*OSGD) SetDecay

func (o *OSGD) SetDecay(decay float64) *OSGD

func (*OSGD) SetLearningRate

func (o *OSGD) SetLearningRate(learningRate float64) *OSGD

func (*OSGD) SetMomentum

func (o *OSGD) SetMomentum(momentum float64) *OSGD

func (*OSGD) SetName

func (o *OSGD) SetName(name string) *OSGD

func (*OSGD) SetNesterov

func (o *OSGD) SetNesterov(nesterov bool) *OSGD

type Optimizer

type Optimizer interface {
	GetKerasLayerConfig() interface{}
}

Jump to

Keyboard shortcuts

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