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

Feature/Android #494

Closed
wants to merge 15 commits into from
Closed

Feature/Android #494

wants to merge 15 commits into from

Conversation

niklastheman
Copy link
Contributor

Android helper added

@niklastheman niklastheman requested a review from Wrede December 12, 2023 16:56
super().__init__()

# function to calculate an incremental weighted average of the weights
def increment_average(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need two version of this function? The implementation in increment_average_add looks more efficient (vectorized). Why not have only that one (as 'increment_average')?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this is very much still in dev state. Will convert to draft.

from .helperbase import HelperBase


class Helper(HelperBase):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe more a philosophical question, but there seems to be nothing here specific to Android. It is more that we are here assuming that the model parameters have been serialized to a json document, and that that document can be cast to a numpy.array? Maybe add those assumptions to the readme? I guess what I am after is if it should be named "androidhelper" or something else (jsonhelper?)

@niklastheman niklastheman marked this pull request as draft January 13, 2024 09:19
@Wrede Wrede added the HOLD label Feb 5, 2024
@ahellander
Copy link
Member

@niklastheman This one should be closed now, right? You merged the android helper in a separate PR, right?

@niklastheman
Copy link
Contributor Author

@niklastheman This one should be closed now, right? You merged the android helper in a separate PR, right?

Yes, this is obsolete.

@niklastheman
Copy link
Contributor Author

Has been solved in other PR.

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

Successfully merging this pull request may close these issues.

4 participants