Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jw1912 committed Oct 1, 2024
1 parent 9ae6003 commit 09a98ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "diffable"
version = "0.5.0"
version = "0.6.0"
edition = "2021"
authors = ["Jamie Whiting"]
4 changes: 4 additions & 0 deletions src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ impl<T: Tensor> Graph<T> {
}
}

pub fn input_ids(&self) -> Vec<String> {
self.inputs.keys().cloned().collect()
}

pub fn weight_ids(&self) -> Vec<String> {
self.weights.keys().cloned().collect()
}
Expand Down

0 comments on commit 09a98ff

Please sign in to comment.