You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/28 06:08:12 UTC
[GitHub] ufukcbicici opened a new issue #7639: Passing arguments to Custom operators
ufukcbicici opened a new issue #7639: Passing arguments to Custom operators
URL: https://github.com/apache/incubator-mxnet/issues/7639
I am trying to implement a custom operator, using the directives in https://mxnet.incubator.apache.org/how_to/new_op.html . To keep things simple, I am following the Python approach and subclass `mx.operator.CustomOp`. From the example I see that we need to call `mx.symbol.Custom(data=fc3, name='softmax', op_type='softmax')` in order to instantiate the new custom operator (using the registered name for the new operator instead of softmax, of course). In my case, I need some input custom input arguments for my operator while creating it, affecting its operational behavior. What would be the best way to pass them to the custom op; since `mx.symbol.Custom` init method takes limited number of arguments.
----------------------------------------------------------------
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