torchlib
Contents:
Get Started
torchlib
torchlib package
Subpackages
torchlib.base package
torchlib.diagnose package
torchlib.dsp package
torchlib.evaluation package
torchlib.layerfunction package
torchlib.linalg package
torchlib.misc package
torchlib.module package
torchlib.optim package
torchlib.spl package
torchlib.summary package
torchlib.utils package
Module contents
torchlib
»
torchlib
»
torchlib package
»
torchlib.summary package
View page source
torchlib.summary package
¶
Submodules
¶
torchlib.summary.loss_log module
¶
class
torchlib.summary.loss_log.
LossLog
(
plotdir
=
None
,
xlabel
=
'Epoch'
,
ylabel
=
'Loss'
,
title
=
None
,
filename
=
None
,
logdict
=
None
,
lom
=
'min'
)
¶
Bases:
object
add
(
key
,
value
)
¶
assign
(
key
,
value
)
¶
get
(
key
=
None
)
¶
judge
(
key
,
n1
=
50
,
n2
=
10
)
¶
plot
(
x
=
None
)
¶
updir
(
plotdir
=
None
)
¶
Module contents
¶