10a674a0d6fa608e1920313955b8aa09b48b0fa8,theano/gpuarray/blas.py,GpuGemv,make_node,#GpuGemv#Any#Any#Any#Any#Any#,48

Before Change


        A = as_gpuarray_variable(A, ctx_name)
        x = as_gpuarray_variable(x, ctx_name)
        y = as_gpuarray_variable(y, ctx_name)
        with theano.configparser.change_flags(warn_float64="ignore"):
            alpha = as_tensor_variable(alpha).astype("float64")
            beta = as_tensor_variable(beta).astype("float64")

        assert alpha.ndim == 0
        assert beta.ndim == 0
        assert A.ndim == 2
        assert x.ndim == 1

After Change


        x = as_gpuarray_variable(x, ctx_name)
        y = as_gpuarray_variable(y, ctx_name)
        alpha = as_tensor_variable(alpha)
        beta = as_tensor_variable(beta)

        assert alpha.ndim == 0
        assert beta.ndim == 0
        assert A.ndim == 2
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: Theano/Theano
Commit Name: 10a674a0d6fa608e1920313955b8aa09b48b0fa8
Time: 2017-03-28
Author: nouiz@nouiz.org
File Name: theano/gpuarray/blas.py
Class Name: GpuGemv
Method Name: make_node


Project Name: Theano/Theano
Commit Name: 10a674a0d6fa608e1920313955b8aa09b48b0fa8
Time: 2017-03-28
Author: nouiz@nouiz.org
File Name: theano/gpuarray/blas.py
Class Name: GpuGemmBatch
Method Name: make_node


Project Name: Theano/Theano
Commit Name: 10a674a0d6fa608e1920313955b8aa09b48b0fa8
Time: 2017-03-28
Author: nouiz@nouiz.org
File Name: theano/gpuarray/blas.py
Class Name: GpuGer
Method Name: make_node