def test_drlim(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)).astype(theano.config.floatX) Y = T.matrix() Y.tag.test_value = np.random.random( (10, 1)).astype(theano.config.floatX) > 0.5 expr = drlim1(Y, X)
def test_drlim(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)).astype(theano.config.floatX) Y = T.matrix() Y.tag.test_value = np.random.random((10, 1)).astype(theano.config.floatX) > 0.5 expr = drlim1(Y, X)
def test_drlim(): X = T.matrix() X.tag.test_value = np.random.random((20, 10)) Y = T.matrix() Y.tag.test_value = np.random.random((10, 1)) > 0.5 expr = drlim1(Y, X)