Class: Gsplat::Optim::Adam::State

Inherits:
Data
  • Object
show all
Defined in:
lib/gsplat/optim/adam.rb

Overview

Adam step count and first/second moments.

Instance Attribute Summary collapse

Instance Attribute Details

#exp_avgObject (readonly)

Returns the value of attribute exp_avg

Returns:

  • (Object)

    the current value of exp_avg



11
12
13
# File 'lib/gsplat/optim/adam.rb', line 11

def exp_avg
  @exp_avg
end

#exp_avg_sqObject (readonly)

Returns the value of attribute exp_avg_sq

Returns:

  • (Object)

    the current value of exp_avg_sq



11
12
13
# File 'lib/gsplat/optim/adam.rb', line 11

def exp_avg_sq
  @exp_avg_sq
end

#stepObject (readonly)

Returns the value of attribute step

Returns:

  • (Object)

    the current value of step



11
12
13
# File 'lib/gsplat/optim/adam.rb', line 11

def step
  @step
end