docutils literal notranslate"><span class="pre">torch.nn.Module</span></code>, <code class="docutils literal notranslate"><span class="pre">torch.jit.ScriptModule</span></code>, or <code class="docutils literal notranslate"><span class="pre">torch.fx.GraphModule</span></code> as an input.
Depending on what is provided one of the two frontends (TorchScript or FX) will be selected to compile the module. Provided the
module type is supported, users may explicitly set which frontend they would like to use using