MXPredReshape always fails (return -1) - MXNet 1.3.0 C-API #12814
Replies: 7 comments
-
@johnbroughton2017 Thank you for posting your question. @mxnet-label-bot [C++, Question] |
Beta Was this translation helpful? Give feedback.
-
done! thank you @piyushghai |
Beta Was this translation helpful? Give feedback.
-
@johnbroughton2017 Looking at the code snippet you pasted, What are the values of Because you are reshaping it to : So for the reshape to work, the product of : |
Beta Was this translation helpful? Give feedback.
-
@piyushghai I have corrected the label assignment. This issue is about the C API which is part of our internal API design. @johnbroughton2017 Please note that the C-API is not intended for external usage and thus not governed by our semantic versioning. The API might change at any point in time, so please consider this in case you build a critical service on top of it. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback @marcoabreu I am curious if mxnet will provide standard C APIs to developers soon. My application needs to run in realtime so our code is generally in C/C++. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Please have a look at https://github.com/apache/incubator-mxnet/tree/master/cpp-package The cpp package is our user-facing frontend API that's written in c++. Does that suite your use case? |
Beta Was this translation helpful? Give feedback.
-
@johnbroughton2017 as @marcoabreu pointed above, MXNet does have a C++ API you can use. |
Beta Was this translation helpful? Give feedback.
-
Hi friends,
I am having some problem with MXPredReshape(). I tried to reshape the input to a larger size but the function always returns -1. The code is given below. I am not sure what went wrong since there is not error hints. Any suggestion is highly appreciated. Thanks.
-- J
``
``
Beta Was this translation helpful? Give feedback.
All reactions