Replies: 3 comments
-
@bputrycz :.Seems like there is a check to see if data and names sizes are the same. Do you have a script that is easily compilable, we can look into this in depth? |
Beta Was this translation helpful? Give feedback.
-
@mxnet-label-bot update [C API, Question, Pending Requester Info] |
Beta Was this translation helpful? Give feedback.
-
I wasn't blocked by this issue, just noticed it and reported. I think, I put above easily replicable code: python for generation of the sample model and C code with prediction from it. It misses only main() and includes. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like to report a possible problem in C API.
I played with C API with a toy model (just adding two numbers) like:
Then using code for prediction like:
I was able to obtain, as expected, sum to be 8:
BUT: when I put into params file something wrong, like weight names with not matching names,
then the prediction doesn’t report any error, and results with unspecified output:
Shouldn’t predictor creation fail with some error about loading the params file?
Bartosz
Beta Was this translation helpful? Give feedback.
All reactions