masahi commented on a change in pull request #6232:
URL: https://github.com/apache/incubator-tvm/pull/6232#discussion_r467661956
##########
File path: src/relay/op/tensor/reduce.cc
##########
@@ -266,7 +269,7 @@ bool ArgReduceRel(const Array<Type>& types, int num_inputs,
const Attrs& attrs,
CHECK(param != nullptr);
// assign output type and shape
- auto oshape = ReduceShapeImpl(in_shape, param, reporter);
+ auto oshape = ReduceShapeImpl<ReduceAttrs>(in_shape, param, reporter);
Review comment:
no need to add explicit template annotation, it should be inferred
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]