File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1062,9 +1062,8 @@ def foo(x, y):
10621062 + Tracing will not record any control-flow like if statements or loops. When
10631063 this control-flow is constant across your module, this is fine and it often
10641064 just inlines configuration decisions. But sometimes the control-flow is
1065- actually part of the model itself. For instance, a beam search in
1066- sequence-to-sequence translation is a loop over the (varying) sequence
1067- length of inputs.
1065+ actually part of the model itself. For instance, a recurrent network is
1066+ a loop over the (possibly dynamic) length of an input sequence.
10681067
10691068 + In the returned ``ScriptModule``, operations that have different behaviors
10701069 in ``training`` and ``eval`` modes will always behave as if it is in the
You can’t perform that action at this time.
0 commit comments