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_r261013420
 
 

 ##########
 File path: tools/coreml/test/test_mxnet_converter.py
 ##########
 @@ -192,6 +192,15 @@ def test_tiny_tanh_activation_random_input(self):
         net = mx.sym.Activation(net, name='tanh1', act_type="tanh")
         self._test_mxnet_model(net, input_shape=input_shape, mode='random')
 
+    def test_tiny_prelu_leakyrelu_random_input(self):
+        np.random.seed(1988)
+        input_shape = (1, 10)
+        net = mx.sym.Variable('data')
+        net = mx.sym.FullyConnected(data=net, name='fc1', num_hidden=5)
+        gamma = mx.sym.Variable('gamma')
+        net = mx.sym.LeakyReLU(net, gamma=gamma, name='prelu1', 
act_type="prelu")
 
 Review comment:
   Sure, I will add "leaky" and "elu".

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


With regards,
Apache Git Services

Reply via email to