VARP clip(VARP x, double aMin, double aMax) { return F.cast( F.ReLU6(F.cast<float32>(x), minValue: aMin, maxValue: aMax), dtype: x.dtype, ); }