BatchNormResult

class BatchNormResult(result: DTensor, n: Float, sum: DTensor, sumOfSquares: DTensor, mean: DTensor, variance: DTensor)

Types

Companion
Link copied to clipboard
object Companion

Properties

mean
Link copied to clipboard
val mean: DTensor

The mean of the data, which is sum / n

n
Link copied to clipboard
val n: Float

The size of the batch

result
Link copied to clipboard
val result: DTensor

The result of batch normalization

sum
Link copied to clipboard
val sum: DTensor

The simple sum of the data in the batch.

sumOfSquares
Link copied to clipboard
val sumOfSquares: DTensor

The sum of the squares of the data items in the batch.

variance
Link copied to clipboard
val variance: DTensor

The variance of the data, which is Ex^2 - Ex^2