• 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
名称
最后提交
最后更新
..
__init__.py 正在载入提交数据...
_test_mpi_roundtrip.py 正在载入提交数据...
mlp_test.py 正在载入提交数据...
shape_opt_cycle.pkl 正在载入提交数据...
test_basic.py 正在载入提交数据...
test_blas.py 正在载入提交数据...
test_blas_c.py 正在载入提交数据...
test_blas_scipy.py 正在载入提交数据...
test_casting.py 正在载入提交数据...
test_complex.py 正在载入提交数据...
test_elemwise.py 正在载入提交数据...
test_extra_ops.py 正在载入提交数据...
test_fft.py 正在载入提交数据...
test_fourier.py 正在载入提交数据...
test_gc.py 正在载入提交数据...
test_inc_subtensor.py 正在载入提交数据...
test_io.py 正在载入提交数据...
test_keepdims.py 正在载入提交数据...
test_merge.py 正在载入提交数据...
test_misc.py 正在载入提交数据...
test_mpi.py 正在载入提交数据...
test_nlinalg.py 正在载入提交数据...
test_opt.py 正在载入提交数据...
test_opt_uncanonicalize.py 正在载入提交数据...
test_raw_random.py 正在载入提交数据...
test_shared_randomstreams.py 正在载入提交数据...
test_sharedvar.py 正在载入提交数据...
test_slinalg.py 正在载入提交数据...
test_sort.py 正在载入提交数据...
test_subtensor.py 正在载入提交数据...
test_type_other.py 正在载入提交数据...
test_utils.py 正在载入提交数据...
test_var.py 正在载入提交数据...
test_xlogx.py 正在载入提交数据...