openvino
openvino copied to clipboard
[OV JS] Parameters validation
Details:
- Implement helper for validation input parameters in JS binding
Tickets:
- 137672
@t-jankowski all remarks addressed
@praasz previous solution rebased based on proposed concept
@almilosz I used new parameter validation approach in infer method. Please compare implemented solution with previous implementation. Additionally, pay attention that you can use own validation function to validate certain attribute (ex. to validate on the fly inside the conversion methods). If you would like to see specific example with current approach, please let me know, I prepare it.
This PR will be closed in a week because of 2 weeks of no activity.
Development continues here: https://github.com/openvinotoolkit/openvino/pull/24921