Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UnsortedSegmentMax (0.5 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

    using ops::Placeholder;
    using ops::Pow;
    using ops::Prod;
    using ops::RealDiv;
    using ops::SegmentSum;
    using ops::SelectV2;
    using ops::SquaredDifference;
    using ops::Sub;
    using ops::Sum;
    using ops::UnsortedSegmentMax;
    using ops::UnsortedSegmentMin;
    using ops::UnsortedSegmentSum;
    using ops::Where3;
    
    // TODO(andydavis) Test gradient function against numeric gradients output.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/math_grad.cc

                                       std::vector<Output>* grad_outputs) {
      if (op.num_inputs() != 3) {
        return errors::InvalidArgument("UnsortedSegmentMax requires 3 arguments");
      }
    
      if (grad_inputs.size() != 1) {
        return errors::InvalidArgument(
            "UnsortedSegmentMax grad requires 1 grad input");
      }
    
      auto grad = grad_inputs[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

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

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_UnsortedSegmentMaxOp: TFL_Op<"unsorted_segment_max", [
        Pure, PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
    
      let summary = "UnsortedSegmentMax operator";
    
      let description = [{
        Computes the maximum value along segments of a tensor such that
        output[i] = max(data[j....]) where segment_ids[j...] = i
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @unsortedSegmentReduction(%data: tensor<7x10x8xf32>, %segment_ids: tensor<7x10xi32>, %num_segments: tensor<2x3xi32>) {
      // expected-error @+1 {{number of segments should be a 0-D tensor}}
      %0 = "tf.UnsortedSegmentMax"(%data, %segment_ids, %num_segments) : (tensor<7x10x8xf32>, tensor<7x10xi32>, tensor<2x3xi32>) -> (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)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %num_segments = "tf.Const"() {value = dense<4> : tensor<i32>} : () -> tensor<i32>
      // CHECK: mhlo.constant dense<-3.40282347E+38> : tensor<f32>
      // CHECK: mhlo.scatter
      // CHECK: mhlo.maximum
      %0 = "tf.UnsortedSegmentMax"(%data, %segment_ids, %num_segments) : (tensor<8x?x64xf32>, tensor<?x16xi32>, tensor<i32>) -> (tensor<4x?xf32>)
      func.return %0: tensor<4x?xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      TF_DerivedResultSizeAttr num = TF_DerivedResultSizeAttr<0>;
    
      let hasVerifier = 1;
    
      let hasCanonicalizer = 1;
    }
    
    def TF_UnsortedSegmentMaxOp : TF_Op<"UnsortedSegmentMax", [Pure]> {
      let summary = "Computes the maximum 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)
  9. RELEASE.md

        *   New operations supported:
            *   tflite SelectV2 now supports 5D.
            *   `tf.einsum` is supported with multiple unknown shapes.
            *   `tf.unsortedsegmentprod` op is supported.
            *   `tf.unsortedsegmentmax` op is supported.
            *   `tf.unsortedsegmentsum` op is supported.
        *   Updates to existing operations:
            *   `tfl.scatter_nd` now supports I1 for the `update` arg.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top