README

Milky2018/minigpt/optim does not have a README file

#
AdamW

pub struct AdamW {
// private fields
}

#
AdamW::AdamW

#
AdamW::checkpoint

fn AdamW::checkpoint(self : AdamW) -> AdamWCheckpoint

#
AdamW::set_learning_rate

fn AdamW::set_learning_rate(self : AdamW, lr : Double) -> Unit

#
AdamW::step

fn AdamW::step(self : AdamW) -> Unit

#
AdamW::step_count

fn AdamW::step_count(self : AdamW) -> Int

#
AdamW::step_with_grad_clip

fn AdamW::step_with_grad_clip(self : AdamW, max_norm : Double) -> Unit

#
AdamW::with_parameter_weight_decays

fn AdamW::with_parameter_weight_decays(params : Array[
Tensor
], config : AdamWConfig, weight_decays : Array[Double]) -> AdamW

#
AdamWCheckpoint

pub struct AdamWCheckpoint {
// private fields
}

#
AdamWCheckpoint::beta1

fn AdamWCheckpoint::beta1(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::beta1_power

fn AdamWCheckpoint::beta1_power(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::beta2

fn AdamWCheckpoint::beta2(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::beta2_power

fn AdamWCheckpoint::beta2_power(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::eps

fn AdamWCheckpoint::eps(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::lr

fn AdamWCheckpoint::lr(self : AdamWCheckpoint) -> Double

#
AdamWCheckpoint::m

fn AdamWCheckpoint::m(self : AdamWCheckpoint) -> Array[Array[Double]]

#
AdamWCheckpoint::step

fn AdamWCheckpoint::step(self : AdamWCheckpoint) -> Int

#
AdamWCheckpoint::v

fn AdamWCheckpoint::v(self : AdamWCheckpoint) -> Array[Array[Double]]

#
AdamWCheckpoint::weight_decays

fn AdamWCheckpoint::weight_decays(self : AdamWCheckpoint) -> Array[Double]

#
AdamWConfig

pub struct AdamWConfig {
// private fields
}

#
AdamWConfig::AdamWConfig

fn AdamWConfig::AdamWConfig(lr : Double, beta1? : Double, beta2? : Double, eps? : Double, weight_decay? : Double) -> AdamWConfig

#
AdamWConfig::beta1

fn AdamWConfig::beta1(self : AdamWConfig) -> Double

#
AdamWConfig::beta2

fn AdamWConfig::beta2(self : AdamWConfig) -> Double

#
AdamWConfig::eps

fn AdamWConfig::eps(self : AdamWConfig) -> Double

#
AdamWConfig::lr

fn AdamWConfig::lr(self : AdamWConfig) -> Double

#
AdamWConfig::weight_decay

fn AdamWConfig::weight_decay(self : AdamWConfig) -> Double

#
AdamWState

type AdamWState

#
sgd_step

fn sgd_step(params : Array[
Tensor
], lr : Double) -> Unit

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io