Skip to content

Commit

Permalink
clips
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Oct 8, 2024
1 parent d11ca46 commit 70fb761
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/model/translator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ where
&self,
source: &Graph<TI1, O1>,
) -> TractResult<(Graph<TI2, O2>, HashMap<OutletId, OutletId>)> {
let mut target = Graph::default();
target.symbols = source.symbols.clone();
let mut target = Graph {
symbols: source.symbols.clone(),
.. Graph::default()
};
let mut mapping = HashMap::new();
for old_id in source.eval_order()? {
let node = source.node(old_id);
Expand Down
1 change: 1 addition & 0 deletions core/src/ops/einsum/kernel_selection.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::type_complexity)]
use dyn_clone::clone_box;
use tract_linalg::frame::block_quant::{BlockQuant, PackedBlockQuantFormat, StaticBlockQuant};
use tract_linalg::frame::PackedFormat;
Expand Down

0 comments on commit 70fb761

Please sign in to comment.