You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/27 08:58:10 UTC

[GitHub] wagamama commented on a change in pull request #14222: Add more support for mxnet_to_coreml

wagamama commented on a change in pull request #14222: Add more support for mxnet_to_coreml
URL: https://github.com/apache/incubator-mxnet/pull/14222#discussion_r260647906
 
 

 ##########
 File path: tools/coreml/converter/_layers.py
 ##########
 @@ -220,6 +220,39 @@ def convert_activation(net, node, module, builder):
                            output_name = output_name)
 
 
+def convert_leakyrelu(net, node, module, builder):
+    """Convert an leakyrelu layer from mxnet to coreml.
+
+    Parameters
+    ----------
+    network: net
+        A mxnet network object.
+
+    layer: node
+        Node to convert.
+
+    module: module
+        An module for MXNet
+
+    builder: NeuralNetworkBuilder
+        A neural network builder object.
+    """
+    input_name, output_name = _get_input_output_name(net, node)
 
 Review comment:
   Changed in a1e937d

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services