Skip to content

Simplify Rust code #1070

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Simplify Rust code #1070

wants to merge 1 commit into from

Conversation

ia0
Copy link
Member

@ia0 ia0 commented Apr 23, 2025

According to #1055 we have mid_size == 0 and use_inputs_at_offsets == false. This simplifies the code significantly. The simplification is fine to do because we only support one model and it's embedded. Once we'll support multiple models (in particular dynamic loading), we'll need features extraction to work for all possible models (possibly having multiple features extraction functions).

According to google#1055 we have `mid_size == 0` and `use_inputs_at_offsets == false`. This simplifies the
code significantly. The simplification is fine to do because we only support one model and it's
embedded. Once we'll support multiple models (in particular dynamic loading), we'll need features
extraction to work for all possible models (possibly having multiple features extraction functions).
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.

1 participant