@Override
    public double get(int i, int j) {
        return values[i][j];
    }
@Test
    public void serialization431Test() throws URISyntaxException, IOException {
        Path matrixPath = Paths.get(DenseMatrixTest.class.getResource("dense-matrix-431.tribuo").toURI());
        try (InputStream fis = Files.newInputStream(matrixPath)) {
            TensorProto proto = TensorProto.parseFrom(fis);
            Tensor matrix = Tensor.deserialize(proto);
            assertEquals(generateA(), matrix);
        }
    }