code: def _is_view_op(tgt):
      assert isinstance(tgt, torch._ops.OpOverload)
      schema = tgt._schema
      if len(schema.arguments) > 0:
          first_arg = schema.arguments[0]
          # check if op is a view
          return (
              first_arg.alias_info is not None
              and not first_arg.alias_info.is_write
          )
  
imports: import sys
  import warnings
  from typing import cast, List, Optional, Tuple, TYPE_CHECKING, Union
  import torch
  import torch.distributed
  import torch.distributed.distributed_c10d
  from torch._custom_ops import impl_abstract
  from torch.distributed.device_mesh import DeviceMesh
  from torch.fx.experimental.proxy_tensor import get_innermost_proxy_mode
  from .None import _functional_collectives_impl
  from ._functional_collectives_impl import _register_tensor_wrapper
  from torch.distributed.distributed_c10d import all_gather_into_tensor, all_reduce, reduce_scatter_tensor
label_desc: Use image node_id 9 for calling a global function with example usage: _is_view_op(tgt) and returns: unknown