We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 295d4e5 commit 93af275Copy full SHA for 93af275
1 file changed
candle-core/src/pickle.rs
@@ -792,7 +792,7 @@ impl PthTensors {
792
/// # Arguments
793
/// * `path` - Path to the pth file.
794
/// * `key` - Optional key to retrieve `state_dict` from the pth file. Sometimes the pth file
795
-/// contains multiple objects and the `state_dict` is the one we are interested in.
+/// contains multiple objects and the `state_dict` is the one we are interested in.
796
pub fn read_all_with_key<P: AsRef<std::path::Path>>(
797
path: P,
798
key: Option<&str>,
0 commit comments