我正在使用自制软件安装的jenkins 但是,每当我在jenkins log level page中设置javax.jmdns = off时,它在重新启动后就会消失。
无论如何要永久化?
任何建议的Thx!
答案 0 :(得分:0)
在 public void test() {
final MultiLayerNetwork net = new MultiLayerNetwork(createConf());
net.init();
net.setListeners(new ScoreIterationListener(1));
for (int i = 0; i < nEpochs; i++) {
net.fit(generateTrainingData());
}
int idx = 0;
double x[] = new double[19];
double y[] = new double[19];
double p[] = new double[19];
for (double i = -90; i < 100; i += 10) {
x[idx] = i;
y[idx] = y(i);
p[idx] = scale * net.output(Nd4j.create(new double[]{i / scale, 1})).getDouble(0, 0);
idx++;
}
plot(x, y, p);
}
Logger.getLogger("javax.jmdns").setLevel(Level.OFF)
.jenkins/init.groovy.d/logging.groovy