-
Notifications
You must be signed in to change notification settings - Fork 158
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
Draft: [onert-micro] Bring up SparseCrossEntropy Loss #13431
base: master
Are you sure you want to change the base?
Conversation
This testcase is added to test SparseCrossEntropy featture that will be added Signed-off-by: Jungwoo Lee <[email protected]>
TF Result: .95 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall lgtm, thank you!
Let's split this draft into prs and merge it
if (loss_type == SPARSE_CROSS_ENTROPY) | ||
{ | ||
offset = batch_num * data_type_size; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BalyshevArtem
Is it ok to changing offset according to the loss_type??
I had no idea of refactoring this code to apply sparse cross entropy... :'(
What
Sparse Cross Entropy
as a Loss function.Sparse Cross Entropy Accuracy
metric to check accuracy of above loss.ToDo
target_size
as I mentioned in [onert-micro] Differentiateflat_size
and length oftarget_data
#13404