Search
Preparing search index...
The search index is not available
Sukiyaki2
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
OptimizerSGD
Class OptimizerSGD
Hierarchy
Optimizer
Optimizer
OptimizerSGD
Index
Constructors
constructor
Properties
last_
deltas
lr
momentum
net
Methods
destruct
do_
update
release
update
update_
divided
zero_
grads
Constructors
constructor
new
OptimizerSGD
(
net
:
Network
, lr
?:
number
)
:
OptimizerSGD
Parameters
net:
Network
Default value
lr:
number
= 0.01
Returns
OptimizerSGD
Properties
last_
deltas
last_
deltas
:
object
Type declaration
[
index:
string
]:
Matrix
lr
lr
:
number
momentum
momentum
:
number
net
net
:
Network
Methods
destruct
destruct
(
)
:
void
Returns
void
do_
update
do_
update
(
)
:
void
Returns
void
release
release
(
)
:
void
Returns
void
update
update
(
input_vars
:
object
, callback
:
function
)
:
void
Parameters
input_vars:
object
[
index:
string
]:
Matrix
callback:
function
(
)
:
void
Returns
void
Returns
void
update_
divided
update_
divided
(
divided_input_vars
:
object
[]
, callback
:
function
)
:
void
Parameters
divided_input_vars:
object
[]
[
index:
string
]:
Matrix
callback:
function
(
)
:
void
Returns
void
Returns
void
zero_
grads
zero_
grads
(
)
:
void
Returns
void
Globals
OptimizerSGD
constructor
last_
deltas
lr
momentum
net
destruct
do_
update
release
update
update_
divided
zero_
grads
Generated using
TypeDoc