szha commented on a change in pull request #11928: Generalized reshape_like
operator
URL: https://github.com/apache/incubator-mxnet/pull/11928#discussion_r207093048
##########
File path: src/operator/tensor/elemwise_unary_op.h
##########
@@ -476,6 +476,31 @@ void HardSigmoidBackward(const nnvm::NodeAttrs& attrs,
});
}
+struct ReshapeLikeParam : public dmlc::Parameter<ReshapeLikeParam> {
+ int lhs_begin, rhs_begin;
Review comment:
Considering the case where the parameters may be in some serialized format,
it may be necessary to support null values to ensure compatibility there too.
----------------------------------------------------------------
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