nsor: f32[1, 1, 2] = torch.ops.aten.add.Tensor(arg0, 8.0); arg0 = None # # File: path/to/pytorch/test_constant_input.py:6, code: z = y.relu() # relu_default: f32[1, 1, 2] = torch.ops.aten.relu.default(add_tensor) # return pytree.tree_unflatten([add_tensor, relu_default], self._out_spec) Empty torch.fx.Node input leading to a mismatched number of input with PyTorch, as it's ignored in ONNX graph. Thus, we delete the useless input here. r