Documentation
¶
Index ¶
- type Adam
- type AdamOpt
- type AdamW
- func (optm *AdamW) GetLr() float64
- func (optm *AdamW) GetName() string
- func (optm *AdamW) GetOptions() Options
- func (optm *AdamW) GetState() [][]*tensor.Tensor
- func (optm *AdamW) SetLr(lr float64)
- func (optm *AdamW) SetState(values [][]*tensor.Tensor)
- func (optm *AdamW) Step()
- func (optm *AdamW) ZeroGrad()
- type AdamWOpt
- type Optimizer
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adam ¶
type Adam struct {
// contains filtered or unexported fields
}
func (*Adam) GetOptions ¶ added in v1.8.0
type AdamOpt ¶
type AdamOpt func(*Adam)
func WithAdamBeta1 ¶
func WithAdamBeta2 ¶
func WithAdamEps ¶
func WithAdamLr ¶
func WithAdamWeightDecay ¶ added in v1.2.1
type AdamW ¶ added in v1.2.1
type AdamW struct {
// contains filtered or unexported fields
}
func (*AdamW) GetOptions ¶ added in v1.8.0
type AdamWOpt ¶ added in v1.2.1
type AdamWOpt func(*AdamW)
func WithAdamWAmsgrad ¶ added in v1.8.0
func WithAdamWBeta1 ¶ added in v1.2.1
func WithAdamWBeta2 ¶ added in v1.2.1
func WithAdamWEps ¶ added in v1.2.1
func WithAdamWLr ¶ added in v1.2.1
func WithAdamWWeightDecay ¶ added in v1.2.1
Click to show internal directories.
Click to hide internal directories.