Skip to content

Commit 0ed02cb

Browse files
committed
No need of prefilling forward
1 parent 6bd1374 commit 0ed02cb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graphgen.lua

-3
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,6 @@ local function generateGraph(net, input, opts)
281281

282282
createBoundaryNode(input, 'Input')
283283

284-
-- fill the states from each tensor
285-
--net:forward(input)
286-
287284
hackTorch()
288285
-- overwriting the standard functions to generate our graph
289286
net:apply(apply_func)

0 commit comments

Comments
 (0)