produces ScriptModule.
This module also contains any parameters that the original module
   had as well.
Warning:
 Tracing only correctly records functions and modules which are
 not data dependent (e.g., do not have conditionals on data in
 tensors) and do not have any untracked external dependencies
 (e.g., perform input/output or access global variables). Tracing
 only records operations done when the given function is run on
 the given tensors. Therefore, the returned *ScriptModule* will
 always run the same traced graph on any input. This has some
 important implications when your module is expected to run
 different sets of operations, depending on the input and/or the
 module state. For example,

 * Tracing will not record any control-flow like if-statements or
   loops. When this control-flow is constant across your module,
   this is fine and it often inlines the control-flow decisions.
