public static void formInputParameters(NeuralNetwork loadNet) {
loadNet.setInput(0.583333333, 0.0, 0.333333333, 0.339622642, 0.251141553, 0.0, 1.0, 0.786259542, 0.0, 0.0, 0.5, 0.333333, 0.0);
loadNet.calculate();
double[] networkOutput = loadNet.getOutput();
System.out.println(" Output: " + Arrays.toString(networkOutput));
}
如何在Java中对double值数组执行Math.round()
?
答案 0 :(得分:1)
经典方式我猜...
.accdb