org
.
platanios
.
tensorflow
.
api
.
learn
.
hooks
Evaluator
Related Docs:
object Evaluator
|
package hooks
case class
Evaluator
[
IT
,
IO
,
ID
,
IS
,
I
,
TT
,
TO
,
TD
,
TS
,
EI
]
(
log:
Boolean
=
true
,
summaryDir:
Path
=
null
,
data: () ⇒
Dataset
[
TT
,
TO
,
TD
,
TS
]
,
metrics:
Seq
[
Metric
[
EI
,
ops.Output
]]
,
trigger:
HookTrigger
=
StepHookTrigger(100)
,
triggerAtEnd:
Boolean
=
true
,
randomSeed:
Option
[
Int
] =
None
,
name:
String
=
"Evaluator"
)
extends
TriggeredHook
with
ModelDependentHook
[
IT
,
IO
,
ID
,
IS
,
I
,
TT
,
TO
,
TD
,
TS
,
EI
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
ModelDependentHook
[
IT
,
IO
,
ID
,
IS
,
I
,
TT
,
TO
,
TD
,
TS
,
EI
],
TriggeredHook
,
Hook
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Evaluator
Serializable
Serializable
Product
Equals
ModelDependentHook
TriggeredHook
Hook
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Evaluator
(
log:
Boolean
=
true
,
summaryDir:
Path
=
null
,
data: () ⇒
Dataset
[
TT
,
TO
,
TD
,
TS
]
,
metrics:
Seq
[
Metric
[
EI
,
ops.Output
]]
,
trigger:
HookTrigger
=
StepHookTrigger(100)
,
triggerAtEnd:
Boolean
=
true
,
randomSeed:
Option
[
Int
] =
None
,
name:
String
=
"Evaluator"
)
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
Evaluator
→
Hook
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
data
: () ⇒
Dataset
[
TT
,
TO
,
TD
,
TS
]
def
end
(
session:
core.client.Session
)
:
Unit
Attributes
protected
Definition Classes
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
val
log
:
Boolean
val
metrics
:
Seq
[
Metric
[
EI
,
ops.Output
]]
var
modelInstance
:
ModelInstance
[
IT
,
IO
,
ID
,
IS
,
I
,
TT
,
TO
,
TD
,
TS
,
EI
]
Attributes
protected
Definition Classes
ModelDependentHook
val
name
:
String
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
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
Evaluator
→
TriggeredHook
val
randomSeed
:
Option
[
Int
]
val
summaryDir
:
Path
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
ModelDependentHook
[
IT
,
IO
,
ID
,
IS
,
I
,
TT
,
TO
,
TD
,
TS
,
EI
]
Inherited from
TriggeredHook
Inherited from
Hook
Inherited from
AnyRef
Inherited from
Any
Ungrouped