vandanavk commented on a change in pull request #13500: [MXNET-898] ONNX 
import/export: Sample_multinomial, ONNX export: Gather, GlobalLpPool, LpPool
URL: https://github.com/apache/incubator-mxnet/pull/13500#discussion_r242370929
 
 

 ##########
 File path: python/mxnet/contrib/onnx/mx2onnx/_op_translations.py
 ##########
 @@ -575,6 +575,7 @@ def convert_pooling(node, **kwargs):
     pool_type = attrs["pool_type"]
     stride = eval(attrs["stride"]) if attrs.get("stride") else None
     global_pool = get_boolean_attribute_value(attrs, "global_pool")
+    p_value = int(attrs.get('p_value', '2'))
 
 Review comment:
   shape can be [] which would mean that one sample is drawn

----------------------------------------------------------------
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