@@ -2,7 +2,7 @@ open Base
22open Ocannl
33
44let capture_for_computation () =
5- let open Operation .DSL_modules in
5+ let open Nn_blocks .DSL_modules in
66 Tensor. unsafe_reinitialize () ;
77 let ctx = Context. auto () in
88 let % op x = { x = uniform1 () ; o = [ 2 ; 3 ] } in
@@ -51,7 +51,7 @@ let capture_for_computation () =
5151 Train. printf ~here: [% here] ~with_code: false ~with_grad: false dim_calc
5252
5353let test_set_dim_and_set_equal () =
54- let open Operation .DSL_modules in
54+ let open Nn_blocks .DSL_modules in
5555 Tensor. unsafe_reinitialize () ;
5656 Stdio. printf " \n === Testing set_dim and set_equal functionality ===\n " ;
5757
@@ -139,7 +139,7 @@ let test_set_dim_and_set_equal () =
139139 Stdio. printf " === All tests completed ===\n "
140140
141141let capture_for_shape_validation () =
142- let open Operation .DSL_modules in
142+ let open Nn_blocks .DSL_modules in
143143 Tensor. unsafe_reinitialize () ;
144144 Shape. unsafe_reinitialize () ;
145145 let ctx = Context. auto () in
@@ -253,7 +253,7 @@ let capture_for_shape_validation () =
253253 Stdio. printf " === Shape inference integration tests completed ===\n "
254254
255255let capture_for_shape_inference () =
256- let open Operation .DSL_modules in
256+ let open Nn_blocks .DSL_modules in
257257 Tensor. unsafe_reinitialize () ;
258258 Shape. unsafe_reinitialize () ;
259259 let ctx = Context. auto () in
0 commit comments