AttributeError: Module has no function 'share_params'


#1

i convert mxnet model to tvm , i test it on pc ,it works well. when i test it on arm(android) by rpc tracker ,it gives the errors:

    File "/home/mm/workspace/tests//mxnet2tvm/deploy_on_android.py", line 119, in <module>
    module = graph_runtime.create(graph, rlib, ctx)
File "/home/mm/workspace/tvm-master-new/python/tvm/contrib/graph_runtime.py", line 56, in create
    return GraphModule(fcreate(graph_json_str, hmod, *device_type_id))
File "/home/mm/workspace/tvm-master-new/python/tvm/contrib/graph_runtime.py", line 132, in __init__
    self._share_params = module["share_params"]
File "/home/mm/workspace/tvm-master-new/python/tvm/_ffi/function.py", line 147, in __getitem__
    return self.get_function(name)
File "/home/mm/workspace/tvm-master-new/python/tvm/_ffi/function.py", line 131, in get_function
    "Module has no function '%s'" %  name)
AttributeError: Module has no function 'share_params'

#2

The new function was introduced recently. Please rebuild your android app


#3

i rebuild the latest android app , it’s ok,thanks…