class Evaluator[In, TrainIn, Out, TrainOut, Loss, InEval, TrainInD, TrainInS] extends TriggeredHook with ModelDependentHook[In, TrainIn, Out, TrainOut, Loss, InEval]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Evaluator
- ModelDependentHook
- TriggeredHook
- Hook
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Evaluator(log: Boolean = true, summaryDir: Path = null, datasets: Seq[(String, () => Dataset[TrainIn])], metrics: Seq[Metric[InEval, ops.Output[Float]]], trigger: HookTrigger = StepHookTrigger(100), triggerAtEnd: Boolean = true, device: String = "", numDecimalPoints: Int = 4, randomSeed: Option[Int] = None, name: String = "Evaluator")(implicit evOutputToDataType: Aux[TrainIn, TrainInD], evOutputToShape: Aux[TrainIn, TrainInS])
- Attributes
- protected
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
- def afterSessionRun[C, CV](runContext: SessionRunContext[C, CV], runResult: SessionRunResult[Seq[tensors.Tensor[Any]]])(implicit arg0: OutputStructure[C], evOutputToTensorC: Aux[C, CV]): Unit
- Attributes
- protected
- Definition Classes
- TriggeredHook → Hook
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def beforeSessionRun[C, CV](runContext: SessionRunContext[C, CV])(implicit arg0: OutputStructure[C], evOutputToTensorC: Aux[C, CV]): Option[SessionRunArgs[Seq[ops.Output[Any]], Seq[tensors.Tensor[Any]]]]
- Attributes
- protected
- Definition Classes
- TriggeredHook → Hook
- def begin(): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var datasetInitializers: Seq[(String, ops.UntypedOp)]
- Attributes
- protected
- val datasets: Seq[(String, () => Dataset[TrainIn])]
- val device: String
- def end(session: core.client.Session): Unit
- Attributes
- protected
- Definition Classes
- Hook
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- var evaluateOps: EvalOps[TrainIn, Out]
- Attributes
- protected
- def fetches: Seq[ops.Output[Any]]
- Attributes
- protected
- Definition Classes
- Evaluator → TriggeredHook
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var graph: core.Graph
- Attributes
- protected
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val internalTrigger: HookTrigger
- Attributes
- protected
- Definition Classes
- TriggeredHook
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var lastStep: Long
- Attributes
- protected
- Definition Classes
- TriggeredHook
- val log: Boolean
- val metrics: Seq[Metric[InEval, ops.Output[Float]]]
- val modelInstance: ModelInstance[In, TrainIn, Out, TrainOut, Loss, InEval]
- Attributes
- protected
- Definition Classes
- ModelDependentHook
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numDecimalPoints: Int
- def onFirstTrigger[C, CV](runContext: SessionRunContext[C, CV])(implicit arg0: OutputStructure[C], evOutputToTensorC: Aux[C, CV]): Unit
- Attributes
- protected
- Definition Classes
- TriggeredHook
- def onTrigger(step: Long, elapsed: Option[(Double, Int)], runResult: SessionRunResult[Seq[tensors.Tensor[Any]]], session: core.client.Session): Unit
- Attributes
- protected
- Definition Classes
- Evaluator → TriggeredHook
- val randomSeed: Option[Int]
- def runOptions: Option[RunOptions]
- Attributes
- protected
- Definition Classes
- TriggeredHook
- var sessionCreator: SessionCreator
- Attributes
- protected
- var shouldTrigger: Boolean
- Attributes
- protected
- Definition Classes
- TriggeredHook
- var step: ops.Output[Long]
- Attributes
- protected
- Definition Classes
- TriggeredHook
- val summaryDir: Path
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def targets: Set[ops.UntypedOp]
- Attributes
- protected
- Definition Classes
- Evaluator → TriggeredHook
- def toString(): String
- Definition Classes
- AnyRef → Any
- val trigger: HookTrigger
- val triggerAtEnd: Boolean
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def wantMetadata: Boolean
- Attributes
- protected
- Definition Classes
- TriggeredHook