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

Tfloat patch 2 - bugfix for FMA FAST_FLOAT #3491

Closed
wants to merge 8 commits into from

Conversation

GerHobbelt
Copy link
Contributor

See commit: just merged your latest this morning and saw you had the same mistake as I had in #3490: 8 floats fit in 256 bits, contrasting 4 doubles. This corrects that and should produce correct numbers for DotProduct.

stweil and others added 8 commits July 13, 2021 07:18
Up to now Tesseract used double for training and recognition
with "best" models.

This commit replaces double by a new data type TFloat which
is double by default, but float if FAST_FLOAT is defined.

Ideally this should allow faster training.

Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
…vector (8x32) (contrasting 4 double FPs: 4*64)
@GerHobbelt
Copy link
Contributor Author

Closed for reason: submitted against master, which is wrong base. Will re-issue, as github doesn't allow to change pullreq base (?at least I haven't seen how to do that, so re-issuing is the only alt?) --> #3494 (comment)

@GerHobbelt
Copy link
Contributor Author

Now filed correctly here: stweil#1

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

Successfully merging this pull request may close these issues.

2 participants