ifeherva commented on a change in pull request #11984: WIP - Generalized 
broadcast_like operator
URL: https://github.com/apache/incubator-mxnet/pull/11984#discussion_r207250473
 
 

 ##########
 File path: src/operator/tensor/broadcast_reduce_op.h
 ##########
 @@ -137,6 +137,17 @@ struct BroadcastToParam : public 
dmlc::Parameter<BroadcastToParam> {
   }
 };
 
+struct BroadcastLikeParam : public dmlc::Parameter<BroadcastLikeParam> {
+  TShape input_axes;
+  TShape other_axes;
+  DMLC_DECLARE_PARAMETER(BroadcastLikeParam) {
+    DMLC_DECLARE_FIELD(input_axes).set_default(TShape())
 
 Review comment:
   Well, that's what you proposed :) Can change of course.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to