Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `StatefulInferer::replace_inferer` which works with a `&mut
StatefulInferer`, at the cost of requiring the inferer to be of the
same type.
- Fix bugs in the new wrapper setup where consumed and modified shapes
weren't respected during wrapper construction.

## [0.9.0] - 2025-09-04

Expand Down
2 changes: 1 addition & 1 deletion crates/cervo-core/src/epsilon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ where
generator: NG,
key: &str,
) -> Result<Self> {
let inputs = inferer.input_shapes();
let inputs = inner.input_shapes(inferer);

let (index, count) = match inputs.iter().enumerate().find(|(_, (k, _))| k == key) {
Some((index, (_, shape))) => (index, shape.iter().product()),
Expand Down
4 changes: 2 additions & 2 deletions crates/cervo-core/src/recurrent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ impl<Inner: InfererWrapper> RecurrentTrackerWrapper<Inner> {
/// Create a new recurrency tracker for the model.
///
pub fn new<T: Inferer>(inner: Inner, inferer: &T, info: Vec<RecurrentInfo>) -> Result<Self> {
let inputs = inferer.raw_input_shapes();
let outputs = inferer.raw_output_shapes();
let inputs = inner.input_shapes(inferer);
let outputs = inner.output_shapes(inferer);

let mut offset = 0;
let keys = info
Expand Down
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ db-urls = ["https://github.com/rustsec/advisory-db"]
ignore = [
#"RUSTSEC-0000-0000",
"RUSTSEC-2024-0436",
"RUSTSEC-2025-0056",
]
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
# lower than the range specified will be ignored. Note that ignored advisories
Expand Down
Loading