“a0cc5cfa5c498a1024bcea1c14209a5136b65bfb”上不存在“python/examples/imdb/test_http_client.py”
  • Y
    [X86] Optimize gru and softmax (#2877) · 6b30c58a
    Yiqun Liu 提交于
    * Optimize softmax. When the input tensor is 2-D and axis is 1, there is no need to resize.
    
    * Optimize the gru, avoid calling Tensor::Slice.
    test=develop
    
    * Remove a std::vector in softmax.
    test=develop
    
    * Define CalculateSeqWidth to get the width of a sequence.
    test=develop
    6b30c58a
math_function.cc 5.4 KB