def __init__()

in svinfer/processor/matrix.py [0:0]


    def __init__(self, x, dim=None):
        assert isinstance(x, list)
        super(SqlMatrix, self).__init__()
        self.value = x.copy()
        self.ncol = len(x)
        if dim is None:
            dim = (self.ncol, )
        else:
            assert np.prod(dim) == self.ncol
        self.dim = dim