Skip to content

[Good First Issue]: Enable Tensor.setShape() method #29757

Open
@almilosz

Description

@almilosz

Context

OpenVINO works in Node.js environment!
We are looking for new contributors who can help with enabling C++ API methods
in JavaScript side.

First of all read Node.js API Contribution Guide.

Task Details

Expose ov::Tensor::set_shape method.
From JavaScript side it will be Tensor.setShape() method.
This method takes 1 arguments: shape to set.

Useful links

What needs to be done?

  • Implement the method on C++ side (src/bindings/js/node/src/tensor.cpp)
  • Update TypeScript definitions and description in ./src/bindings/js/node/lib/addon.ts
  • Create unit test for added functionality using Node.js Test Runner.

How to take this issue

To take this issue leave text: .take as the comment in this issue.
It will assign this issue to you automatically. Please, make sure that the issue has the status Contributors Needed and doesn't have another user in Assingnees.

Example Pull Requests

Resources

Contact points

@almilosz @Retribution98

Please, mention us in this issue discussion if you have any questions.

Ticket

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions