PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.24k stars 5.58k forks source link

add rowDotMul eigen Tensor #3781

Closed luotao1 closed 7 years ago

luotao1 commented 7 years ago

rowDotMul is used in six following layers:

InterpolationLayer.cpp:116:    inG0->rowDotMul(0, *outG, *tmpMatrix);
PowerLayer.cpp:107:      inG0->rowDotMul(0, *outG, *tmpMtx);
RowL2NormLayer.cpp:89:    dotSum_->rowDotMul(0, *outG, *outV);
ScalingLayer.cpp:96:      inG0->rowDotMul(0, *outG, *inV1);
SumToOneNormLayer.cpp:110:    dotSum_->rowDotMul(0, *outG, *outV);
TensorLayer.cpp:81:      outV->rowDotMul(i, *tmpMat, *input2);
luotao1 commented 7 years ago

implemented by https://github.com/PaddlePaddle/Paddle/pull/4139