Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
asukaminato0721 committed Sep 30, 2024
1 parent 2b037d3 commit 02302ee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# FSRS-RS-Python

Python bindings for fsrs-rs, use burn-rs, instead of pytorch.

---

## Usage

see [example.py](./example.py)

## Development

```bash
maturin develop
python example.py
```
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ impl FSRS {
pub fn new() -> Self {
Self(fsrs::FSRS::new(Some(&[])).unwrap())
}
#[pyo3(signature=(current_memory_state,desired_retention,days_elapsed ))]
#[pyo3(signature=(current_memory_state,desired_retention,days_elapsed))]
pub fn next_states(
&self,
current_memory_state: Option<MemoryState>,
Expand Down

0 comments on commit 02302ee

Please sign in to comment.