Skip to content

Commit 9904fbb

Browse files
kalimathieupoumeyrolsonos
authored andcommitted
clip
1 parent 3a9690d commit 9904fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nnef/src/framework.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ fn proto_model_from_resources(
404404
})
405405
.collect();
406406

407-
for (_, r) in &new_resources {
407+
for r in new_resources.values() {
408408
if let Some(safe_tensors) = r.downcast_ref::<Vec<(String, Arc<Tensor>)>>() {
409409
for (name, t) in safe_tensors.iter() {
410410
tensors.insert(Identifier::from(&**name), Arc::clone(t));

0 commit comments

Comments
 (0)