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 2018/04/07 08:21:31 UTC
[GitHub] VikingMew commented on issue #8238: different behaviour of customop in latest MXNet
VikingMew commented on issue #8238: different behaviour of customop in latest MXNet
URL: https://github.com/apache/incubator-mxnet/issues/8238#issuecomment-379448411
The customop
```
class Maskeddense:
def list_arguments(self):
return ['data', 'weight', 'mask', 'bias']
def list_outputs(self):
return ['output']
```
must be called by in some version
```
h2h = F.Custom(data=states[0], weight=h2h_weight, mask=mask, bias=h2h_bias,
name=prefix + 'mh2h', op_type='maskeddense')
```
and in others
```
h2h = F.Custom(states[0], h2h_weight, mask, h2h_bias,
name=prefix + 'mh2h', op_type='maskeddense')
```
which is inconsisent between different versions, documents, and samples.
----------------------------------------------------------------
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