class_docstr: These test check that you can call TorchInductor directly without
  going through TorchDynamo.
class_docstr_tok: ["These","test","check","that","you","can","call","TorchInductor","directly","without","going","through","TorchDynamo","."]
code: def test_inductor_via_fx_tensor_return(self):
      mod = MyModule().eval()
      inp = torch.randn(10)
      correct = mod(inp)
      mod_opt = inductor.compile(symbolic_trace(mod), [inp])
      actual = mod_opt(inp)
      self.assertEqual(actual, correct)
  
imports: import torch
  from torch import _dynamo, _inductor
  from torch._dynamo.test_case import run_tests, TestCase
  from torch._inductor.utils import gen_gm_and_inputs
  from torch.fx import symbolic_trace
  from torch.fx.experimental.proxy_tensor import make_fx
  from torch.testing._internal.inductor_utils import HAS_CPU
label_desc: Use image node_id 2 for calling the TestStandaloneInductor obj's underlying member method code with example usage: obj.test_inductor_via_fx_tensor_return() without return types