Measurement

sealed class Measurement<T : Any>

Measurements can be taken from just about any part of a system.

They fall into three categories:

  • Given information, such as model parameters, inputs, targets, etc.

  • Intermediate information, a.k.a. calculations, such as pre-activations, activations, derivatives, loss, gradients, etc.

  • Analytical information, a.k.a. calculations on calculations, such as

Inheritors

Types

Link copied to clipboard
class Analytical<T : Any>(val label: String, key: ComputationKey<T>) : Measurement<T>

Collects analytical information for an epoch.

Link copied to clipboard
class Given<T : Any>(val label: String, key: ComputationKey<T>) : Measurement<T>

Collects the parameters of the model for an epoch.

Link copied to clipboard
class Intermediate<T : Any>(val label: String, key: ComputationKey<T>) : Measurement<T>

Collects intermediate information for an epoch.

Properties

Link copied to clipboard
val key: ComputationKey<T>