initializer

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 IConstant

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

func Constant

func Constant() *IConstant

func (*IConstant) GetCustomLayerDefinition

func (i *IConstant) GetCustomLayerDefinition() string

func (*IConstant) GetKerasLayerConfig

func (i *IConstant) GetKerasLayerConfig() interface{}

func (*IConstant) SetName

func (i *IConstant) SetName(name string) *IConstant

func (*IConstant) SetValue

func (i *IConstant) SetValue(value float64) *IConstant

type IGlorotNormal

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

func GlorotNormal

func GlorotNormal() *IGlorotNormal

func (*IGlorotNormal) GetCustomLayerDefinition

func (i *IGlorotNormal) GetCustomLayerDefinition() string

func (*IGlorotNormal) GetKerasLayerConfig

func (i *IGlorotNormal) GetKerasLayerConfig() interface{}

func (*IGlorotNormal) SetName

func (i *IGlorotNormal) SetName(name string) *IGlorotNormal

func (*IGlorotNormal) SetSeed

func (i *IGlorotNormal) SetSeed(seed interface{}) *IGlorotNormal

type IGlorotUniform

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

func GlorotUniform

func GlorotUniform() *IGlorotUniform

func (*IGlorotUniform) GetCustomLayerDefinition

func (i *IGlorotUniform) GetCustomLayerDefinition() string

func (*IGlorotUniform) GetKerasLayerConfig

func (i *IGlorotUniform) GetKerasLayerConfig() interface{}

func (*IGlorotUniform) SetName

func (i *IGlorotUniform) SetName(name string) *IGlorotUniform

func (*IGlorotUniform) SetSeed

func (i *IGlorotUniform) SetSeed(seed interface{}) *IGlorotUniform

type IHeNormal

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

func HeNormal

func HeNormal() *IHeNormal

func (*IHeNormal) GetCustomLayerDefinition

func (i *IHeNormal) GetCustomLayerDefinition() string

func (*IHeNormal) GetKerasLayerConfig

func (i *IHeNormal) GetKerasLayerConfig() interface{}

func (*IHeNormal) SetName

func (i *IHeNormal) SetName(name string) *IHeNormal

func (*IHeNormal) SetSeed

func (i *IHeNormal) SetSeed(seed interface{}) *IHeNormal

type IHeUniform

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

func HeUniform

func HeUniform() *IHeUniform

func (*IHeUniform) GetCustomLayerDefinition

func (i *IHeUniform) GetCustomLayerDefinition() string

func (*IHeUniform) GetKerasLayerConfig

func (i *IHeUniform) GetKerasLayerConfig() interface{}

func (*IHeUniform) SetName

func (i *IHeUniform) SetName(name string) *IHeUniform

func (*IHeUniform) SetSeed

func (i *IHeUniform) SetSeed(seed interface{}) *IHeUniform

type IIdentity

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

func Identity

func Identity() *IIdentity

func (*IIdentity) GetCustomLayerDefinition

func (i *IIdentity) GetCustomLayerDefinition() string

func (*IIdentity) GetKerasLayerConfig

func (i *IIdentity) GetKerasLayerConfig() interface{}

func (*IIdentity) SetGain

func (i *IIdentity) SetGain(gain float64) *IIdentity

func (*IIdentity) SetName

func (i *IIdentity) SetName(name string) *IIdentity

type IOnes

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

func Ones

func Ones() *IOnes

func (*IOnes) GetCustomLayerDefinition

func (i *IOnes) GetCustomLayerDefinition() string

func (*IOnes) GetKerasLayerConfig

func (i *IOnes) GetKerasLayerConfig() interface{}

func (*IOnes) SetName

func (i *IOnes) SetName(name string) *IOnes

type IOrthogonal

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

func Orthogonal

func Orthogonal() *IOrthogonal

func (*IOrthogonal) GetCustomLayerDefinition

func (i *IOrthogonal) GetCustomLayerDefinition() string

func (*IOrthogonal) GetKerasLayerConfig

func (i *IOrthogonal) GetKerasLayerConfig() interface{}

func (*IOrthogonal) SetGain

func (i *IOrthogonal) SetGain(gain float64) *IOrthogonal

func (*IOrthogonal) SetName

func (i *IOrthogonal) SetName(name string) *IOrthogonal

func (*IOrthogonal) SetSeed

func (i *IOrthogonal) SetSeed(seed interface{}) *IOrthogonal

type IRandomNormal

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

func RandomNormal

func RandomNormal() *IRandomNormal

func (*IRandomNormal) GetCustomLayerDefinition

func (i *IRandomNormal) GetCustomLayerDefinition() string

func (*IRandomNormal) GetKerasLayerConfig

func (i *IRandomNormal) GetKerasLayerConfig() interface{}

func (*IRandomNormal) SetMean

func (i *IRandomNormal) SetMean(mean float64) *IRandomNormal

func (*IRandomNormal) SetName

func (i *IRandomNormal) SetName(name string) *IRandomNormal

func (*IRandomNormal) SetSeed

func (i *IRandomNormal) SetSeed(seed interface{}) *IRandomNormal

func (*IRandomNormal) SetStddev

func (i *IRandomNormal) SetStddev(stddev float64) *IRandomNormal

type IRandomUniform

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

func RandomUniform

func RandomUniform() *IRandomUniform

func (*IRandomUniform) GetCustomLayerDefinition

func (i *IRandomUniform) GetCustomLayerDefinition() string

func (*IRandomUniform) GetKerasLayerConfig

func (i *IRandomUniform) GetKerasLayerConfig() interface{}

func (*IRandomUniform) SetMaxval

func (i *IRandomUniform) SetMaxval(maxval float64) *IRandomUniform

func (*IRandomUniform) SetMinval

func (i *IRandomUniform) SetMinval(minval float64) *IRandomUniform

func (*IRandomUniform) SetName

func (i *IRandomUniform) SetName(name string) *IRandomUniform

func (*IRandomUniform) SetSeed

func (i *IRandomUniform) SetSeed(seed interface{}) *IRandomUniform

type ITruncatedNormal

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

func TruncatedNormal

func TruncatedNormal() *ITruncatedNormal

func (*ITruncatedNormal) GetCustomLayerDefinition

func (i *ITruncatedNormal) GetCustomLayerDefinition() string

func (*ITruncatedNormal) GetKerasLayerConfig

func (i *ITruncatedNormal) GetKerasLayerConfig() interface{}

func (*ITruncatedNormal) SetMean

func (i *ITruncatedNormal) SetMean(mean float64) *ITruncatedNormal

func (*ITruncatedNormal) SetName

func (i *ITruncatedNormal) SetName(name string) *ITruncatedNormal

func (*ITruncatedNormal) SetSeed

func (i *ITruncatedNormal) SetSeed(seed interface{}) *ITruncatedNormal

func (*ITruncatedNormal) SetStddev

func (i *ITruncatedNormal) SetStddev(stddev float64) *ITruncatedNormal

type IVarianceScaling

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

func VarianceScaling

func VarianceScaling() *IVarianceScaling

func (*IVarianceScaling) GetCustomLayerDefinition

func (i *IVarianceScaling) GetCustomLayerDefinition() string

func (*IVarianceScaling) GetKerasLayerConfig

func (i *IVarianceScaling) GetKerasLayerConfig() interface{}

func (*IVarianceScaling) SetDistribution

func (i *IVarianceScaling) SetDistribution(distribution string) *IVarianceScaling

func (*IVarianceScaling) SetMode

func (i *IVarianceScaling) SetMode(mode string) *IVarianceScaling

func (*IVarianceScaling) SetName

func (i *IVarianceScaling) SetName(name string) *IVarianceScaling

func (*IVarianceScaling) SetScale

func (i *IVarianceScaling) SetScale(scale float64) *IVarianceScaling

func (*IVarianceScaling) SetSeed

func (i *IVarianceScaling) SetSeed(seed interface{}) *IVarianceScaling

type IZeros

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

func Zeros

func Zeros() *IZeros

func (*IZeros) GetCustomLayerDefinition

func (i *IZeros) GetCustomLayerDefinition() string

func (*IZeros) GetKerasLayerConfig

func (i *IZeros) GetKerasLayerConfig() interface{}

func (*IZeros) SetName

func (i *IZeros) SetName(name string) *IZeros

type Initializer

type Initializer interface {
	GetKerasLayerConfig() interface{}
}

type NilInitializer

type NilInitializer struct{}

func (*NilInitializer) GetKerasLayerConfig

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

Jump to

Keyboard shortcuts

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