code: def filter_non_mutated(kernel, tensors):
      from triton.runtime.autotuner import Autotuner
  
      if isinstance(kernel, Autotuner):
          kernel = kernel.fn
  
      infos = {name: MutationInfo() for name in tensors}
      tracker = MutationTracker(infos)
      tracker.visit(kernel.parse())
      return [
          name
          for name, info in infos.items()
          if info.mutated or info.used_in_unknown
      ]
  
imports: import ast
  import dataclasses
  import threading
  from typing import Any, Dict
  import torch.utils._pytree
  from torch import Tensor
  from torch._C import DispatchKey
  from torch._ops import HigherOrderOperator
  from torch._prims_common import clone_preserve_strides
  from torch._subclasses.fake_tensor import FakeTensorMode
  from torch.fx.experimental.proxy_tensor import disable_proxy_modes_tracing, ProxyTorchDispatchMode, track_tensor_tree
label_desc: Use image node_id 1 for calling a global function with example usage: filter_non_mutated(kernel, tensors) and returns: unknown