Skip to content

Same model produces unequal results with the same input when called from C++ compared to Wasm #26406

@qwrtyip

Description

@qwrtyip

Describe the issue

I have an ONNX model which I can correctly use from JavaScript (Wasm) and Python, but when I try to use it from C++, its results somehow turn unexpected.

To reproduce

A full reproduction example is available here: https://github.com/qwrtyip/onnxruntime-problem

Urgency

No response

Platform

Mac

OS Version

15.5

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1f45838

ONNX Runtime API

C++

Architecture

ARM64

Execution Provider

Default CPU

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    api:Javascriptissues related to the Javascript APIplatform:webissues related to ONNX Runtime web; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions