I cannot convert double to Nd4j.INDArray without losing precision.
double[] weight = new double[]{-0.13404223866376802,-0.11294084872465669,0.11232944517596409,-0.01687720880184701,0.13288394029423414,-0.06916641552096867,0.1518882606786481};
INDArray array = Nd4j.create(weight, new int[]{1, 7});
System.out.println(array);
The output is
[-0.13, -0.11, 0.11, -0.02, 0.13, -0.07, 0.15]
The desired output should be
[-0.13404223866376802,-0.11294084872465669,0.11232944517596409,-0.01687720880184701,0.13288394029423414,-0.06916641552096867,0.1518882606786481]
How convert with full precision ?