~/bend-docscommunity

tensor_batch_norm.bend fails

raw source on the hub · import stelliferous@0.0.3.0/tensor_batch_norm.bend as Tensor_batch_norm

Batch normalization of [N,C,H,W] over the images and positions of each channel, as a training layer: forward normalizes with the statistics of the batch and moves the running statistics, backward gives the gradients, evaluate normalizes with the running statistics. Every step is a public operation in a fixed FP32 order; the sums are those of sum_axes.

3 imports
import Base
import ./tensor.bend as Tensors
import ./tensor_f32.bend as F