Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unsorted_segment_sum (0.33 sec)

  1. RELEASE.md

            *   (since v2.7) Stateful ops used in `tf.data.Dataset`
            *   (since v2.7) `tf.convert_to_tensor` when fed with (sparse)
                `tf.IndexedSlices` (because it uses `tf.math.unsorted_segment_sum`)
            *   (since v2.7) `tf.gather` backprop (because `tf.convert_to_tensor`
                reduces `tf.gather`'s (sparse) `tf.IndexedSlices` gradients into its
                dense `params` input)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    <div style="width:70%; margin:auto; margin-bottom:10px; margin-top:20px;">
    <img style="width:100%" src="https://www.tensorflow.org/images/UnsortedSegmentSum.png" alt>
    </div>
    
    >>> c = [[1,2,3,4], [5,6,7,8], [4,3,2,1]]
    >>> tf.math.unsorted_segment_sum(c, [0, 1, 0], num_segments=2).numpy()
    array([[5, 5, 5, 5],
           [5, 6, 7, 8]], dtype=int32)
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top