Skip to content
fn

require_length

void require_length(const int & sh, int n, const int & what)

Refuse a per-channel operand (scale, shift, bias, running statistic) that is not 1-D of length n: ShapeMismatch naming (n,).