def make_node(self, n, p):
        n = tensor.as_tensor_variable(n)
        p = as_sparse_variable(p)
        assert p.format in ["csr", "csc"]

        return gof.Apply(self, [n, p], [p.type()])
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/sandbox/sp2.py/Multinomial.make_node/original