Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS OV] Extend Core class with getAvailableDevices #22100

Merged
merged 12 commits into from
Jan 16, 2024

Conversation

Aliczi
Copy link
Contributor

@Aliczi Aliczi commented Jan 11, 2024

Description:

Extend Core class with getAvailableDevices method that returns devices available for inference.
The effective inference of models depends on the hardware platform. Using the getAvailableDevices method in the JS API, users will be able to check which platforms are available for running inference.

Implementation

  • add get_avaialable_devices() method on C++ side
  • update ov_node_addon TypeScript definition
  • create unit test for added functionality using Node.js Test Runner

@Aliczi Aliczi requested a review from a team as a code owner January 11, 2024 13:22
@github-actions github-actions bot added the category: JS API OpenVino JS API Bindings label Jan 11, 2024
src/bindings/js/node/lib/addon.ts Outdated Show resolved Hide resolved
src/bindings/js/node/tests/basic.test.js Outdated Show resolved Hide resolved
src/bindings/js/node/tests/basic.test.js Outdated Show resolved Hide resolved
@vishniakov-nikolai vishniakov-nikolai enabled auto-merge (squash) January 15, 2024 13:02
@mlukasze
Copy link
Contributor

build_jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: JS API OpenVino JS API Bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants