openvinotoolkit/openvino

[Good First Issue][Python API]: Create constant for string tensor and fix segfault

Open

#23,611 opened on Mar 21, 2024

View on GitHub
 (60 comments) (0 reactions) (2 assignees)C++ (3,229 forks)auto 404
category: Python APIgood first issueno_stale

Repository metrics

Stars
 (10,286 stars)
PR merge metrics
 (Avg merge 14d 3h) (305 merged PRs in 30d)

Description

Context

Currently, we receive segfault during creation of string type constant:

import openvino.runtime.opset14 as ov
import numpy as np
str_const = ov.constant(np.array(['openvino'], dtype=str))

For reproducing, you can install latest nightly build:

pip install openvino-nightly

What needs to be done?

Implement this feature

Example Pull Requests

No response

Resources

Contact points

  • @jiwaszki
  • @p-wysocki
  • @mlukasze
  • @akuporos
  • @rkazants

Ticket

No response

Contributor guide