You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor/extract standalone functions from structure (#367)
* Refactor/extract standalone functions from structure
* Change visibility of several functions in dataset, parameter initialization, and training modules to `pub(crate)` for better encapsulation.
* Rename test functions for consistency across modules, prefixing with 'test_' to enhance clarity and maintainability.
* bump version
* Remove unused import of `izip` in `measure_a_by_b` function to clean up code.
* make optimal_retention standalone
* make evaluate_with_time_series_splits and compute_parameters standalone
* [autofix.ci] apply automated fixes
* Refactor FSRS initialization to remove unnecessary `Some` wrapper around parameters in multiple files, enhancing code clarity and consistency.
* Refactor FSRS initialization across multiple files to use `FSRS::default()` instead of `FSRS::new(&[])`, improving code consistency and readability.
* make benchmark standalone & remove redundant documents
* Refactor FSRS initialization in benchmarks and tests to use `FSRS::default()`, ensuring consistency and improving code readability.
* [autofix.ci] apply automated fixes
* Refactor tests to use a static `DEVICE` for `NdArrayDevice::Cpu`, improving consistency and reducing redundancy in multiple test files.
* [autofix.ci] apply automated fixes
* Refactor FSRS and Model implementations to utilize device-specific tensor creation, enhancing device management and consistency across the codebase.
* Update src/inference.rs
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Refactor FSRSBatcher initialization to remove device parameter, enhancing code consistency across multiple files.
* Refactor BatchTensorDataset and MemoryStateTensors to eliminate device parameter, improving code consistency and simplifying tensor creation across multiple files.
* Update src/model.rs
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Refactor device parameter handling in FSRS initialization across multiple files for improved consistency and clarity.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
0 commit comments