-
Remember that pytorch is based on dynamic computation graphs, where as tensorflow is based on static computation graphs. Hence, you need to calculate
filter
inforward()
rather than__init__()
. -
You do not need to move individual parameters to cuda. Rather try to move whole model to cuda.
1 Like