openvinotoolkit/openvino

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

Open

#23.611 aberto em 21 de mar. de 2024

Ver no GitHub
 (60 comments) (0 reactions) (2 assignees)C++ (3.229 forks)auto 404
category: Python APIgood first issueno_stale

Métricas do repositório

Stars
 (10.286 stars)
Métricas de merge de PR
 (Mesclagem média 14d 3h) (305 fundiu PRs em 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

Guia do colaborador