regularizer

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NilRegularizer

type NilRegularizer struct{}

func (*NilRegularizer) GetKerasLayerConfig

func (n *NilRegularizer) GetKerasLayerConfig() interface{}

type RL1

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

func L1

func L1() *RL1

func (*RL1) GetCustomLayerDefinition

func (r *RL1) GetCustomLayerDefinition() string

func (*RL1) GetKerasLayerConfig

func (r *RL1) GetKerasLayerConfig() interface{}

func (*RL1) SetL1

func (r *RL1) SetL1(l1 float64) *RL1

func (*RL1) SetName

func (r *RL1) SetName(name string) *RL1

type RL2

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

func L2

func L2() *RL2

func (*RL2) GetCustomLayerDefinition

func (r *RL2) GetCustomLayerDefinition() string

func (*RL2) GetKerasLayerConfig

func (r *RL2) GetKerasLayerConfig() interface{}

func (*RL2) SetL2

func (r *RL2) SetL2(l2 float64) *RL2

func (*RL2) SetName

func (r *RL2) SetName(name string) *RL2

type Regularizer

type Regularizer interface {
	GetKerasLayerConfig() interface{}
}

Jump to

Keyboard shortcuts

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