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

InvalidDimensions error when Tensor is numeric data #108

Open
Hiroshiba opened this issue Jun 5, 2022 · 0 comments
Open

InvalidDimensions error when Tensor is numeric data #108

Hiroshiba opened this issue Jun 5, 2022 · 0 comments

Comments

@Hiroshiba
Copy link

I am getting an InvalidDimensions error when num_dims==0 in the code here.

(num_dims != 0)
.then(|| ())
.ok_or(OrtError::InvalidDimensions)?;

If Tensor is just numeric data, num_dims==0 here.
So I think the correct behavior would be to not have the assert here.

I would like to know if there is another code that causes the problem.

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

1 participant