f(x) = max(0, x)
List<double> relu(List<double> val) { val.asMap().forEach((i, v) => val[i] = max(0, val[i])); return val; }