File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
burn-import/src/burn/node Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -401,9 +401,10 @@ pub(crate) mod tests {
401
401
) ,
402
402
) ) ;
403
403
404
- graph. register_input_output ( vec ! [ "tensor1" . to_string( ) , "tensor2" . to_string( ) ] , vec ! [
405
- "tensor4" . to_string( ) ,
406
- ] ) ;
404
+ graph. register_input_output (
405
+ vec ! [ "tensor1" . to_string( ) , "tensor2" . to_string( ) ] ,
406
+ vec ! [ "tensor4" . to_string( ) ] ,
407
+ ) ;
407
408
408
409
let expected = quote ! {
409
410
use burn:: {
@@ -486,9 +487,10 @@ pub(crate) mod tests {
486
487
TensorType :: new_float ( "output" , 4 ) ,
487
488
) ) ;
488
489
489
- graph. register_input_output ( vec ! [ "tensor1" . to_string( ) , "tensor2" . to_string( ) ] , vec ! [
490
- "output" . to_string( ) ,
491
- ] ) ;
490
+ graph. register_input_output (
491
+ vec ! [ "tensor1" . to_string( ) , "tensor2" . to_string( ) ] ,
492
+ vec ! [ "output" . to_string( ) ] ,
493
+ ) ;
492
494
493
495
let expected = quote ! {
494
496
use burn:: {
Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ pub fn depth_to_space_config(node: &Node) -> DepthToSpaceConfig {
104
104
#[ cfg( test) ]
105
105
mod tests {
106
106
use super :: * ;
107
+ use crate :: ElementType ;
107
108
use crate :: ir:: NodeType ;
108
109
use crate :: node:: test_utils:: NodeBuilder ;
109
- use crate :: ElementType ;
110
110
111
111
/// Helper function to create test nodes with different repeat values
112
112
fn create_test_node (
You can’t perform that action at this time.
0 commit comments