Packages

class Evaluator[In, TrainIn, Out, TrainOut, Loss, InEval, TrainInD, TrainInS] extends TriggeredHook with ModelDependentHook[In, TrainIn, Out, TrainOut, Loss, InEval]

Linear Supertypes
ModelDependentHook[In, TrainIn, Out, TrainOut, Loss, InEval], TriggeredHook, Hook, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Evaluator
  2. ModelDependentHook
  3. TriggeredHook
  4. Hook
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def afterSessionCreation(session: core.client.Session): Unit
    Attributes
    protected
    Definition Classes
    Hook
  5. 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
    TriggeredHookHook
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. 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
    TriggeredHookHook
  8. def begin(): Unit
    Attributes
    protected
    Definition Classes
    EvaluatorHook
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. var datasetInitializers: Seq[(String, ops.UntypedOp)]
    Attributes
    protected
  11. val datasets: Seq[(String, () => Dataset[TrainIn])]
  12. val device: String
  13. def end(session: core.client.Session): Unit
    Attributes
    protected
    Definition Classes
    Hook
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. var evaluateOps: EvalOps[TrainIn, Out]
    Attributes
    protected
  17. def fetches: Seq[ops.Output[Any]]
    Attributes
    protected
    Definition Classes
    EvaluatorTriggeredHook
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. var graph: core.Graph
    Attributes
    protected
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val internalTrigger: HookTrigger
    Attributes
    protected
    Definition Classes
    TriggeredHook
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. var lastStep: Long
    Attributes
    protected
    Definition Classes
    TriggeredHook
  24. val log: Boolean
  25. val metrics: Seq[Metric[InEval, ops.Output[Float]]]
  26. val modelInstance: ModelInstance[In, TrainIn, Out, TrainOut, Loss, InEval]
    Attributes
    protected
    Definition Classes
    ModelDependentHook
  27. val name: String
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. val numDecimalPoints: Int
  32. def onFirstTrigger[C, CV](runContext: SessionRunContext[C, CV])(implicit arg0: OutputStructure[C], evOutputToTensorC: Aux[C, CV]): Unit
    Attributes
    protected
    Definition Classes
    TriggeredHook
  33. def onTrigger(step: Long, elapsed: Option[(Double, Int)], runResult: SessionRunResult[Seq[tensors.Tensor[Any]]], session: core.client.Session): Unit
    Attributes
    protected
    Definition Classes
    EvaluatorTriggeredHook
  34. val randomSeed: Option[Int]
  35. def runOptions: Option[RunOptions]
    Attributes
    protected
    Definition Classes
    TriggeredHook
  36. var sessionCreator: SessionCreator
    Attributes
    protected
  37. var shouldTrigger: Boolean
    Attributes
    protected
    Definition Classes
    TriggeredHook
  38. var step: ops.Output[Long]
    Attributes
    protected
    Definition Classes
    TriggeredHook
  39. val summaryDir: Path
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def targets: Set[ops.UntypedOp]
    Attributes
    protected
    Definition Classes
    EvaluatorTriggeredHook
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. val trigger: HookTrigger
  44. val triggerAtEnd: Boolean
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def wantMetadata: Boolean
    Attributes
    protected
    Definition Classes
    TriggeredHook

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ModelDependentHook[In, TrainIn, Out, TrainOut, Loss, InEval]

Inherited from TriggeredHook

Inherited from Hook

Inherited from AnyRef

Inherited from Any

Ungrouped