std1.0.0-beta-7 SafeC docs

std :: ml::norm

Struct std::AdaLNOut

#include <std/ml/norm.h> source

struct AdaLNOut {
    &FloatTensor out;
    &FloatTensor gate;
}

Fields

LN(x) * (1 + scale) + shift, [m, dim]

[m, dim]; all ones when not gated