code: def get_implemented(f):
      r"""Prints the implemented methods of an operator
  
      Arguments:
        f (Callable): The operator to get the implemented methods of.
  
      Returns:
        None
  
      """
  
      # TODO: Why there are more instances for the same types?
  
      print(f.__name__ + ":")
      instances = []
      a = f.methods
      for f_instance in a:
          # Get types
          types = f_instance.types
  
          # Change each type with its classname
          types = tuple(map(lambda x: x.__name__, types))
  
          # Append
          instances.append(str(types))
  
      instances = set(instances)
      for instance in instances:
          print(" ─ " + instance)
  
imports: import warnings
  from jax.numpy import expand_dims, ndarray
label_desc: Use image node_id 4 for calling a global function with example usage: get_implemented(f) without return types