- fix cos sim bug, value same as pytorch, ok now
- lstm+cos sim+margin loss, loss ok, top1 accuracy 4%~10%, http://ncrs/:8888/notebooks/singa-etc/notebook/singa-qabot-train.ipynb
- lstm+cos sim+pooling+margin, loss not ok, top1 accuracy not ok
- pytorch: lstm+cos sim+pooling+margin, loss ok
- follow numpy convension, if int tensor + int tensor, return int tensor, else return float
- check input types and cast to float in the
GenTensorScalarFn
when necessary - pr merged