rahul003 commented on issue #10538: [MXNET-318] Allow dot for fp16 on GPU
URL: https://github.com/apache/incubator-mxnet/pull/10538#issuecomment-381037280
 
 
   Yes, I'll update the PR. Thanks!
   
   On Thu, Apr 12, 2018, 7:52 PM Anirudh Subramanian <notificati...@github.com>
   wrote:
   
   > *@anirudh2290* commented on this pull request.
   > ------------------------------
   >
   > In src/operator/tensor/dot-inl.h
   > 
<https://github.com/apache/incubator-mxnet/pull/10538#discussion_r181274419>
   > :
   >
   > > @@ -69,9 +69,10 @@ void DotForward_(const nnvm::NodeAttrs& attrs,
   >        << "Binary function only support input/output with the same type";
   >    CHECK_EQ(outputs[0].type_flag_, inputs[1].type_flag_)
   >        << "Binary function only support input/output with the same type";
   > -  CHECK(outputs[0].type_flag_ == kFloat32 || outputs[0].type_flag_ == 
kFloat64)
   > -      << "dot only supports float32 and float64";
   > -  MSHADOW_SGL_DBL_TYPE_SWITCH(outputs[0].type_flag_, DType, {
   > +  CHECK(outputs[0].type_flag_ == kFloat32 || outputs[0].type_flag_ == 
kFloat64 ||
   >
   > don't we need to do the same for BatchDotForward?
   >
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/incubator-mxnet/pull/10538#pullrequestreview-111865784>,
   > or mute the thread
   > 
<https://github.com/notifications/unsubscribe-auth/ADTA2EgW5bSfAlJMIzRxgEIUsZh65K5dks5toBLhgaJpZM4TSvVZ>
   > .
   >
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to