openvino icon indicating copy to clipboard operation
openvino copied to clipboard

[OV JS] Parameters validation

Open vishniakov-nikolai opened this issue 10 months ago • 1 comments

Details:

  • Implement helper for validation input parameters in JS binding

Tickets:

  • 137672

vishniakov-nikolai avatar Apr 16 '24 23:04 vishniakov-nikolai

@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.

vishniakov-nikolai avatar Apr 19 '24 16:04 vishniakov-nikolai

This PR will be closed in a week because of 2 weeks of no activity.

github-actions[bot] avatar Jun 09 '24 00:06 github-actions[bot]

Development continues here: https://github.com/openvinotoolkit/openvino/pull/24921

vishniakov-nikolai avatar Jun 10 '24 08:06 vishniakov-nikolai