Sound-CL
Getting started:
Overview
Webtools
Contents:
src
main module
dataset module
infer module
transforms module
models module
matchbox package
plugins package
Subpackages
plugins.natgrad package
Submodules
templates package
Sound-CL
src
plugins package
plugins.natgrad package
View page source
plugins.natgrad package
Submodules
plugins.natgrad.ekfac module
class
plugins.natgrad.ekfac.
EKFAC
(
net
,
eps
,
sua
=
False
,
ra
=
False
,
update_freq
=
1
,
alpha
=
0.75
)
[source]
Bases:
Optimizer
step
(
update_stats
=
True
,
update_params
=
True
)
[source]
Performs one step of preconditioning.
plugins.natgrad.ekfac.
grad_wrt_kernel
(
a
,
g
,
padding
,
stride
,
target_size
=
None
)
[source]
plugins.natgrad.kfac module
class
plugins.natgrad.kfac.
KFAC
(
net
,
eps
,
sua
=
False
,
pi
=
False
,
update_freq
=
1
,
alpha
=
1.0
,
constraint_norm
=
False
)
[source]
Bases:
Optimizer
step
(
update_stats
=
True
,
update_params
=
True
)
[source]
Performs one step of preconditioning.
Module contents