microsoft / microsoft/onnxruntime

There is a problem: GetTensorMutableData

Open
#6,516 1 comment 0 reactions 1 assignee View on GitHub

@fs-eire is already working on this.

Since Feb 2, 2021.

Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

One method creates the tensor, and the other method calls getTensorMutableData, but does not return the value of the tensor.
I create tensor witd data{1.23,2.33},but getTensorMutableData return {4.1408e+09,9.43074e-43};
I developed the code with Volcano IDE and then called Visual Studio to compile it:
http://www.voldp.com/voldev.html
https://23f49e.link.yunpan.360.cn/lk/surl_yStR9BxUfCB#/-0

---------------------------------------------------------------
Code url:https://github.com/laizewei/errordemo
The main file:
project.rar -> vpkg_onnx.cpp,vcls_rg_Onnxzhll.h,vpkg_main.cpp
build.rar -> Debug/onnx.exe

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.