Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SegmentSum (0.41 sec)

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

      // CHECK-LABEL: cumsum_i64
      // CHECK: "tfl.cast"
      // CHECK: "tfl.cumsum"
    }
    
    func.func @segmentsum(%arg0: tensor<3x3xf32>, %arg1: tensor<i32>) -> tensor<*xf32> {
      %0 = "tf.SegmentSum"(%arg0, %arg1) : (tensor<3x3xf32>, tensor<i32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
      // CHECK-LABEL: segmentsum
      // CHECK: "tfl.segment_sum"(%arg0, %arg1) : (tensor<3x3xf32>, tensor<i32>) -> tensor<*xf32>
    }
    
    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/lite/ir/tfl_ops.td

        }
      }];
    }
    
    def TFL_SegmentSumOp: TFL_Op<"segment_sum", [
        Pure,
        PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
      let summary = "SegmentSum operator";
    
      let description = [{
        Computes the sum along segments of a tensor.
      }];
    
      let arguments = (ins
        TFL_TensorOf<[F32, I32]>:$input,
        TFL_I32Tensor:$segment_ids
      );
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      TF_DerivedOperandTypeAttr Tindices = TF_DerivedOperandTypeAttr<1>;
      TF_DerivedOperandTypeAttr Tnumsegments = TF_DerivedOperandTypeAttr<2>;
    }
    
    def TF_SegmentSumOp : TF_Op<"SegmentSum", [Pure]> {
      let summary = "Computes the sum along segments of a tensor.";
    
      let description = [{
    Read
    [the section on segmentation](https://tensorflow.org/api_docs/python/tf/math#Segmentation)
    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