How to create a new operator in TVM


#1

I have create a new operator in mxnet . I want to deloy it to arm with following code:

func, params = relay.frontend.from_mxnet(mx_sym, shape_dict,
arg_params=args, aux_params=auxs)

Then it outputs the following:

tvm.error.OpNotImplemented: Operator _contrib_MultiPolyTarget is not supported in frontend MXNet

How to port this new operator to tvm ?


#2

Hi @nopattern

Do you solve the problem yet? If not, you could read the frontend/mxnet.py and try to understand how previous contributors implement operators, after this, you could start to add operator into frontend/mxnet.py.

Hope helps,
Neo