Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS playground assertion failed #19

Closed
pashanhenlei opened this issue May 7, 2019 · 1 comment
Closed

iOS playground assertion failed #19

pashanhenlei opened this issue May 7, 2019 · 1 comment

Comments

@pashanhenlei
Copy link

Assertion failed: (TensorUtils::compareTensors(infer(net, GPU), infer(net, CPU), 0.01)), function operator(), file /Users/tudou/Downloads/MNN-master/test/op/QuantizedSoftmaxTest.cpp, line 136.

@li-qing
Copy link
Contributor

li-qing commented May 8, 2019

  1. Metal result varies from device to device. On older devices, deviation may be larger.
  2. We uses half(float16_t) in shader, which is configurable in MetalDefine.h & MetalDefine.metal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants