org
.
platanios
.
tensorflow
.
api
.
learn
.
hooks
CheckpointSaver
Related Docs:
object CheckpointSaver
|
package hooks
case class
CheckpointSaver
(
directory:
Path
,
trigger:
HookTrigger
=
StepHookTrigger(1000)
,
triggerAtEnd:
Boolean
=
true
,
checkpointBaseName:
String
=
"model.ckpt"
)
extends
TriggeredHook
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
TriggeredHook
,
Hook
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
CheckpointSaver
Serializable
Serializable
Product
Equals
TriggeredHook
Hook
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
CheckpointSaver
(
directory:
Path
,
trigger:
HookTrigger
=
StepHookTrigger(1000)
,
triggerAtEnd:
Boolean
=
true
,
checkpointBaseName:
String
=
"model.ckpt"
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
afterSessionCreation
(
session:
core.client.Session
)
:
Unit
Attributes
protected
Definition Classes
Hook
final
def
afterSessionRun
[
F
,
E
,
R
]
(
runContext:
SessionRunContext
[
F
,
E
,
R
]
,
runResult:
SessionRunResult
[
Seq
[
ops.Output
],
Seq
[
tensors.Tensor
]]
)
(
implicit
executableEv:
Executable
[
E
]
,
fetchableEv:
Aux
[
F
,
R
]
)
:
Unit
Attributes
protected
Definition Classes
TriggeredHook
→
Hook
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
beforeSessionRun
[
F
,
E
,
R
]
(
runContext:
SessionRunContext
[
F
,
E
,
R
]
)
(
implicit
executableEv:
Executable
[
E
]
,
fetchableEv:
Aux
[
F
,
R
]
)
:
Option
[
SessionRunArgs
[
Seq
[
ops.Output
],
Traversable
[
ops.Op
],
Seq
[
tensors.Tensor
]]]
Attributes
protected
Definition Classes
TriggeredHook
→
Hook
def
begin
()
:
Unit
Attributes
protected
Definition Classes
CheckpointSaver
→
Hook
val
checkpointBaseName
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
directory
:
Path
def
end
(
session:
core.client.Session
)
:
Unit
Attributes
protected
Definition Classes
CheckpointSaver
→
Hook
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
fetches
:
Seq
[
ops.Output
]
Attributes
protected
Definition Classes
TriggeredHook
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
val
internalTrigger
:
HookTrigger
Attributes
protected
Definition Classes
TriggeredHook
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
onFirstTrigger
[
F
,
E
,
R
]
(
runContext:
SessionRunContext
[
F
,
E
,
R
]
)
(
implicit
executableEv:
Executable
[
E
]
,
fetchableEv:
Aux
[
F
,
R
]
)
:
Unit
Attributes
protected
Definition Classes
CheckpointSaver
→
TriggeredHook
def
onTrigger
(
step:
Long
,
elapsed:
Option
[(
Double
,
Int
)]
,
runResult:
SessionRunResult
[
Seq
[
ops.Output
],
Seq
[
tensors.Tensor
]]
,
session:
core.client.Session
)
:
Unit
Attributes
protected
Definition Classes
CheckpointSaver
→
TriggeredHook
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
trigger
:
HookTrigger
val
triggerAtEnd
:
Boolean
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
TriggeredHook
Inherited from
Hook
Inherited from
AnyRef
Inherited from
Any
Ungrouped