Best Way to handle null values in Input Tensor #301
Unanswered
rajandeepsingh13
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@rajandeepsingh13 nullable is different type. Unbox it before calling SetInputTensorData |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Environment (please complete the following information):
Describe the bug
I am not sure how to pass an Input Tensor that has null values to the Interpreter. My current input is formatted as float?[,,] 3D array but that gives me an "ArgumentException: Object must be an array of primitives." error. What would be the best way to represent an input tensor with null values?
Error message

Here is the complete error:
Beta Was this translation helpful? Give feedback.
All reactions