{"action":"created","issue":{"url":"https://api.github.com/repos/wkcn/MobulaOP/issues/3","repository_url":"https://api.github.com/repos/wkcn/MobulaOP","labels_url":"https://api.github.com/repos/wkcn/MobulaOP/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/wkcn/MobulaOP/issues/3/comments","events_url":"https://api.github.com/repos/wkcn/MobulaOP/issues/3/events","html_url":"https://github.com/wkcn/MobulaOP/issues/3","id":328477385,"node_id":"MDU6SXNzdWUzMjg0NzczODU=","number":3,"title":"CustomOp in python and C++ for prediction","user":{"login":"nuaawzl","id":24707473,"node_id":"MDQ6VXNlcjI0NzA3NDcz","avatar_url":"https://avatars2.githubusercontent.com/u/24707473?v=4","gravatar_id":"","url":"https://api.github.com/users/nuaawzl","html_url":"https://github.com/nuaawzl","followers_url":"https://api.github.com/users/nuaawzl/followers","following_url":"https://api.github.com/users/nuaawzl/following{/other_user}","gists_url":"https://api.github.com/users/nuaawzl/gists{/gist_id}","starred_url":"https://api.github.com/users/nuaawzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuaawzl/subscriptions","organizations_url":"https://api.github.com/users/nuaawzl/orgs","repos_url":"https://api.github.com/users/nuaawzl/repos","events_url":"https://api.github.com/users/nuaawzl/events{/privacy}","received_events_url":"https://api.github.com/users/nuaawzl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T11:11:07Z","updated_at":"2018-06-01T14:14:03Z","closed_at":null,"author_association":"NONE","body":"Hello, it's very useful! I have a problem, I define a custom operator in mxnet(python) and get a model. Now I want to load the model(.json & .params ) by mxnet(C++). Can you give me some advice? thanks.\r\n            "},"comment":{"url":"https://api.github.com/repos/wkcn/MobulaOP/issues/comments/393893606","html_url":"https://github.com/wkcn/MobulaOP/issues/3#issuecomment-393893606","issue_url":"https://api.github.com/repos/wkcn/MobulaOP/issues/3","id":393893606,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzg5MzYwNg==","user":{"login":"wkcn","id":3415417,"node_id":"MDQ6VXNlcjM0MTU0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/3415417?v=4","gravatar_id":"","url":"https://api.github.com/users/wkcn","html_url":"https://github.com/wkcn","followers_url":"https://api.github.com/users/wkcn/followers","following_url":"https://api.github.com/users/wkcn/following{/other_user}","gists_url":"https://api.github.com/users/wkcn/gists{/gist_id}","starred_url":"https://api.github.com/users/wkcn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkcn/subscriptions","organizations_url":"https://api.github.com/users/wkcn/orgs","repos_url":"https://api.github.com/users/wkcn/repos","events_url":"https://api.github.com/users/wkcn/events{/privacy}","received_events_url":"https://api.github.com/users/wkcn/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T14:14:03Z","updated_at":"2018-06-01T14:14:03Z","author_association":"OWNER","body":"Do you want to load the parameters in C++?\r\nI think you can try the function\r\n```c++\r\nMXNET_DLL int MXNDArrayLoad(const char* fname,\r\n                            mx_uint *out_size,\r\n                            NDArrayHandle** out_arr,\r\n                            mx_uint *out_name_size,\r\n                            const char*** out_names);\r\n```\r\n\r\n in [$MXNET_HOME/include/mxnet/c_api.h](https://github.com/apache/incubator-mxnet/blob/master/include/mxnet/c_api.h#L521)."}}
{"actor":{"display_login":"wkcn"}}