Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnsortedSegmentSum (0.33 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    // -----
    
    func.func @unsorted_segment_sum(%arg0: tensor<8xf32>, %arg1: tensor<8xi32>) -> tensor<8xf32> {
      %num_segments = "tf.Const"() {value = dense<8> : tensor<i32>} : () -> tensor<i32>
      %0 = "tf.UnsortedSegmentSum"(%arg0, %arg1, %num_segments) : (tensor<8xf32>, tensor<8xi32>, tensor<i32>) -> tensor<8xf32>
      func.return %0 : tensor<8xf32>
      // CHECK-LABEL: unsorted_segment_sum
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @unsortedSegmentReduction(%data: tensor<7x10x8xf32>, %segment_ids: tensor<7x10x8x1xi32>, %num_segments: tensor<i32>) {
      // expected-error @+1 {{requires segment ids rank to be less than or equal to data's rank}}
      %0 = "tf.UnsortedSegmentSum"(%data, %segment_ids, %num_segments) : (tensor<7x10x8xf32>, tensor<7x10x8x1xi32>, tensor<i32>) -> (tensor<?x8xf32>)
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_UnsortedSegmentSumOp: TFL_Op<"unsorted_segment_sum", [
        Pure, PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
    
      let summary = "UnsortedSegmentSum operator";
    
      let description = [{
        From a tensor segmentation, computes the `output` resulting from
        summing together elements mapped to the same segment_id. I.e. `output[i]` is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top