@@ -106,12 +106,10 @@ main = hspec $ do
106106 model <- sample (vgg16Spec 10 )
107107 let input = ones' [2 ,3 ,128 ,128 ]
108108 outputShapes = toMaybeOutputShapes model input
109- -- output = forward model input
110109 exp =
111- Nothing .*. Nothing .*. Nothing .*. Nothing .*. Nothing .*.
112- Nothing .*. Nothing .*. Nothing .*. Nothing .*. Nothing .*.
113- Nothing .*. Nothing .*. Nothing .*. Nothing .*. Nothing .*.
114- Nothing .*. Nothing .*. Nothing .*. Nothing .*. Nothing .*.
115- Nothing .*. Nothing .*. HNil
116-
110+ Just [2 ,64 ,128 ,128 ] .*. Just [2 ,64 ,128 ,128 ] .*. Just [2 ,64 ,64 ,64 ] .*. Just [2 ,128 ,64 ,64 ] .*. Just [2 ,128 ,64 ,64 ] .*.
111+ Just [2 ,128 ,32 ,32 ] .*. Just [2 ,256 ,32 ,32 ] .*. Just [2 ,256 ,32 ,32 ] .*. Just [2 ,256 ,32 ,32 ] .*. Just [2 ,256 ,16 ,16 ] .*.
112+ Just [2 ,512 ,16 ,16 ] .*. Just [2 ,512 ,16 ,16 ] .*. Just [2 ,512 ,16 ,16 ] .*. Just [2 ,512 ,7 ,7 ] .*. Just [2 ,25088 ] .*.
113+ Just [2 ,4096 ] .*. Just [2 ,4096 ] .*. Just [2 ,4096 ] .*. Just [2 ,4096 ] .*. Just [2 ,4096 ] .*.
114+ Just [2 ,4096 ] .*. Just [2 ,10 ] .*. HNil
117115 outputShapes `shouldBe` exp
0 commit comments