Lingyi Liu
2d884f2263
Optimize Scale function ( #44913 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44913
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18322
Optimize Scale function
i-am-not-moving-c2-to-c10
Test Plan: buck test mode/dbg caffe2/caffe2/python/operator_test:weighted_sum_test
Reviewed By: BIT-silence
Differential Revision: D14575780
fbshipit-source-id: db333a7964581dcaff6e432ff1d6b517ba1a075f
2020-09-18 14:31:33 -07:00
Xiaomeng Yang
fd40c0eba0
Add gelu op ( #18992 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18992
Add gelu op
Reviewed By: houseroad
Differential Revision: D14814811
fbshipit-source-id: 00f126b8b83763c57ebbf28fbd2de5a8fab6d491
2019-04-08 21:58:29 -07:00
Xiaomeng Yang
265fa0ce4d
Move math::Axpy function to elementwise lib ( #18316 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18316
Move math::Axpy function to elementwise lib
i-am-not-moving-c2-to-c10
Reviewed By: houseroad
Differential Revision: D14574697
fbshipit-source-id: 7cfbb2da295c8966c5328bd6b577cce2638eea62
2019-03-26 12:19:19 -07:00
nihui
ed8c462dc7
Fix caffe2 build with BLAS=OpenBLAS ( #18422 )
...
Summary:
g++ complains about failing to find the declaration of cblas_sscal and cblas_dscal BLAS function
let's fix it :)
fedora 29, gcc 8.3.1, openblas 0.3.5
build with cmake -DBLAS=OpenBLAS ..
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18422
Differential Revision: D14598977
Pulled By: soumith
fbshipit-source-id: bde77bfb359d2ff38226401caeed78c114ef7468
2019-03-25 11:59:10 -07:00
Xiaomeng Yang
9709d5e787
Fix math::Set for large tensor ( #17539 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17539
Fix math::Set for large tensor
i-am-not-moving-c2-to-c10
Reviewed By: dzhulgakov, houseroad
Differential Revision: D14240756
fbshipit-source-id: 0ade26790be41fb26d2cc193bfa3082c7bd4e69d
2019-02-27 12:34:58 -08:00
Xiaomeng Yang
3a34f443c5
Separate reduce functions from math ( #16929 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16929
Separate CPU reduce functions from math
i-am-not-moving-c2-to-c10
Reviewed By: houseroad
Differential Revision: D13999469
fbshipit-source-id: bd628b15a6e3c1f04cc62aefffb0110690e1c0d1
2019-02-13 17:50:47 -08:00
Xiaomeng Yang
2db847b3a7
Separate elementwise level2 math functions ( #16753 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16753
Separate elementwise level2 math functions
i-am-not-moving-c2-to-c10
Reviewed By: houseroad
Differential Revision: D13954928
fbshipit-source-id: 1ca7a5d3da96e32510f502e5e4e79168854bee67
2019-02-07 18:38:26 -08:00
Xiaomeng Yang
598b713660
Seperate level1 elementwise functions from math ( #16397 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16397
Seperate level1 elementwise functions from math
i-am-not-moving-c2-to-c10
Reviewed By: houseroad
Differential Revision: D13830626
fbshipit-source-id: e6e672647076dab8b3b24be181f580a1486250c9
2019-01-30 00:04:12 -08:00
Xiaomeng Yang
b436f94b53
Separate affine_channel from math and optimize it ( #16135 )
...
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16135
Separate affine_channel from math and optimize it
i-am-not-moving-c2-to-c10
Reviewed By: houseroad
Differential Revision: D13727606
fbshipit-source-id: 8980af4afadaf964a18a9da581106fe30896a7e9
2019-01-18 22:40:16 -08:00