Is there a way to get the metadata of operator? If yes, how? I want to know if operator is deprecated or not?
You could check the
describe field in MXNET_REGISTER_OP_PROPERTY. E.g. https://github.com/apache/incubator-mxnet/blob/992c3c0dd90c0723de6934e826a49bad6569eeac/src/operator/convolution_v1.cc#L59
But this is probably not 100% reliable for determining whether an operator is deprecated or not.
Yes. That’s there. But I needed to automate this. It would involve parsing the
describe fields of the operators and I’m not sure if that would be correct either.
Looks like I’ll have to create a flag myself to add to each operator for the same.