Documentation
¶
Index ¶
- type IConstant
- type IGlorotNormal
- type IGlorotUniform
- type IHeNormal
- type IHeUniform
- type IIdentity
- type IOnes
- type IOrthogonal
- type IRandomNormal
- func (i *IRandomNormal) GetCustomLayerDefinition() string
- func (i *IRandomNormal) GetKerasLayerConfig() interface{}
- func (i *IRandomNormal) SetMean(mean float64) *IRandomNormal
- func (i *IRandomNormal) SetName(name string) *IRandomNormal
- func (i *IRandomNormal) SetSeed(seed interface{}) *IRandomNormal
- func (i *IRandomNormal) SetStddev(stddev float64) *IRandomNormal
- type IRandomUniform
- func (i *IRandomUniform) GetCustomLayerDefinition() string
- func (i *IRandomUniform) GetKerasLayerConfig() interface{}
- func (i *IRandomUniform) SetMaxval(maxval float64) *IRandomUniform
- func (i *IRandomUniform) SetMinval(minval float64) *IRandomUniform
- func (i *IRandomUniform) SetName(name string) *IRandomUniform
- func (i *IRandomUniform) SetSeed(seed interface{}) *IRandomUniform
- type ITruncatedNormal
- func (i *ITruncatedNormal) GetCustomLayerDefinition() string
- func (i *ITruncatedNormal) GetKerasLayerConfig() interface{}
- func (i *ITruncatedNormal) SetMean(mean float64) *ITruncatedNormal
- func (i *ITruncatedNormal) SetName(name string) *ITruncatedNormal
- func (i *ITruncatedNormal) SetSeed(seed interface{}) *ITruncatedNormal
- func (i *ITruncatedNormal) SetStddev(stddev float64) *ITruncatedNormal
- type IVarianceScaling
- func (i *IVarianceScaling) GetCustomLayerDefinition() string
- func (i *IVarianceScaling) GetKerasLayerConfig() interface{}
- func (i *IVarianceScaling) SetDistribution(distribution string) *IVarianceScaling
- func (i *IVarianceScaling) SetMode(mode string) *IVarianceScaling
- func (i *IVarianceScaling) SetName(name string) *IVarianceScaling
- func (i *IVarianceScaling) SetScale(scale float64) *IVarianceScaling
- func (i *IVarianceScaling) SetSeed(seed interface{}) *IVarianceScaling
- type IZeros
- type Initializer
- type NilInitializer
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 (*IConstant) GetCustomLayerDefinition ¶
func (*IConstant) GetKerasLayerConfig ¶
func (i *IConstant) GetKerasLayerConfig() interface{}
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 (*IHeNormal) GetCustomLayerDefinition ¶
func (*IHeNormal) GetKerasLayerConfig ¶
func (i *IHeNormal) GetKerasLayerConfig() interface{}
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 (*IIdentity) GetCustomLayerDefinition ¶
func (*IIdentity) GetKerasLayerConfig ¶
func (i *IIdentity) GetKerasLayerConfig() interface{}
type IOnes ¶
type IOnes struct {
// contains filtered or unexported fields
}
func (*IOnes) GetCustomLayerDefinition ¶
func (*IOnes) GetKerasLayerConfig ¶
func (i *IOnes) GetKerasLayerConfig() interface{}
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 (*IZeros) GetCustomLayerDefinition ¶
func (*IZeros) GetKerasLayerConfig ¶
func (i *IZeros) GetKerasLayerConfig() interface{}
type Initializer ¶
type Initializer interface {
GetKerasLayerConfig() interface{}
}
type NilInitializer ¶
type NilInitializer struct{}
func (*NilInitializer) GetKerasLayerConfig ¶
func (n *NilInitializer) GetKerasLayerConfig() interface{}
Click to show internal directories.
Click to hide internal directories.