• notoraptor's avatar
    Added another optimization for [sd]gemm_, · 61980334
    notoraptor 提交于
    just by skipping alpha*matrix multiplication when alpha == 1.0.
    
    All tests succeed (with blas.ldflags empty) for:
    * test_abstract_conv.py in theano/tensor/nnet/tests/
    * test_blas.py and test_blas_scipy.py in theano/tensor/tests/
    
    I have modified theano/tensor/tests/test_blas_c.py
    to skip all tests that involves either gemv or ger functions.
    * Before the modifications, this file executed 44 tests and 34 were skipped.
    * After  the modifications, this file executes 44 tests and 29 are skipped.
    
    # $ theano-cache purge && THEANO_FLAGS=blas.ldflags= nosetests --verbose theano/tensor/tests/test_blas_c.py
    
    PS: I also tried to execute test_corr.py in
    theano/tensor/nnet/tests/test_corr.py after removing ldflags checking,
    but I get many errors in many of the tests (theano outputs not matches ref outputs).
    So for the moment I have let this file and I will continue investigations tomorrow.
    61980334
名称
最后提交
最后更新
..
compat 正在载入提交数据...
compile 正在载入提交数据...
d3viz 正在载入提交数据...
gof 正在载入提交数据...
gpuarray 正在载入提交数据...
misc 正在载入提交数据...
sandbox 正在载入提交数据...
scalar 正在载入提交数据...
scan_module 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
tests 正在载入提交数据...
typed_list 正在载入提交数据...
__init__.py 正在载入提交数据...
configdefaults.py 正在载入提交数据...
configparser.py 正在载入提交数据...
gradient.py 正在载入提交数据...
ifelse.py 正在载入提交数据...
printing.py 正在载入提交数据...
raise_op.py 正在载入提交数据...
updates.py 正在载入提交数据...
version.py 正在载入提交数据...