openvinotoolkit/openvino

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

Open

#23.611 aperta il 21 mar 2024

Vedi su GitHub
 (60 commenti) (0 reazioni) (2 assegnatari)C++ (3229 fork)auto 404
category: Python APIgood first issueno_stale

Metriche repository

Star
 (10.286 star)
Metriche merge PR
 (Merge medio 14g 3h) (305 PR mergiate in 30 g)

Descrizione

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

Guida contributor