docstr: ivy.Container instance method variant of ivy.unsorted_segment_sum.
  This method simply wraps the function, and so the docstring for
  ivy.unsorted_segment_sum also applies to this method with minimal
  changes.
  
  Parameters
  ----------
  self
      input array or container from which to gather the input.
  segment_ids
      Must be in the same size with the first dimension of `self`. Has to be
      of integer data type. The index-th element of `segment_ids` array is
      the segment identifier for the index-th element of `self`.
  num_segments
      An integer or array representing the total number of distinct segment IDs.
  
  Returns
  -------
  ret
      A container, representing the result of a segmented sum operation.
      For each segment, it computes the sum of values in `self` where
      `segment_ids` equals to segment ID.
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.unsorted_segment_sum",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.unsorted_segment_sum","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","array","or","container","from","which","to","gather","the","input",".","segment_ids","Must","be","in","the","same","size","with","the","first","dimension","of","`","self","`",".","Has","to","be","of","integer","data","type",".","The","index-th","element","of","`","segment_ids","`","array","is","the","segment","identifier","for","the","index-th","element","of","`","self","`",".","num_segments","An","integer","or","array","representing","the","total","number","of","distinct","segment","IDs",".","Returns","--","--","--","-","ret","A","container",",","representing","the","result","of","a","segmented","sum","operation",".","For","each","segment",",","it","computes","the","sum","of","values","in","`","self","`","where","`","segment_ids","`","equals","to","segment","ID","."]
code: def unsorted_segment_sum(
      self: ivy.Container,
      segment_ids: ivy.Container,
      num_segments: Union[int, ivy.Container],
  ):
      r"""ivy.Container instance method variant of ivy.unsorted_segment_sum.
      This method simply wraps the function, and so the docstring for
      ivy.unsorted_segment_sum also applies to this method with minimal
      changes.
  
      Parameters
      ----------
      self
          input array or container from which to gather the input.
      segment_ids
          Must be in the same size with the first dimension of `self`. Has to be
          of integer data type. The index-th element of `segment_ids` array is
          the segment identifier for the index-th element of `self`.
      num_segments
          An integer or array representing the total number of distinct segment IDs.
  
      Returns
      -------
      ret
          A container, representing the result of a segmented sum operation.
          For each segment, it computes the sum of values in `self` where
          `segment_ids` equals to segment ID.
      """
      return self.static_unsorted_segment_sum(
          self,
          segment_ids,
          num_segments,
      )
  
imports: from typing import Optional, Union, List, Dict
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 18 for calling the _ContainerWithCreationExperimental obj's underlying member method code with example usage: obj.unsorted_segment_sum(segment_ids, num_segments) and returns: self