Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UnsortedSegmentMin (0.25 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

    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.
    // TODO(andydavis) As more gradients are added move common test functions
    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

      grad_outputs->push_back(NoGradient());
      grad_outputs->push_back(NoGradient());
      return scope.status();
    }
    
    REGISTER_GRADIENT_OP("UnsortedSegmentMax", UnsortedSegmentMinOrMaxGrad);
    REGISTER_GRADIENT_OP("UnsortedSegmentMin", UnsortedSegmentMinOrMaxGrad);
    
    Status UnsortedSegmentSumGrad(const Scope& scope, const Operation& op,
                                  const std::vector<Output>& grad_inputs,
    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_min(%arg0: tensor<8xf32>, %arg1: tensor<8xi32>) -> tensor<8xf32> {
      %num_segments = "tf.Const"() {value = dense<8> : tensor<i32>} : () -> tensor<i32>
      %0 = "tf.UnsortedSegmentMin"(%arg0, %arg1, %num_segments) : (tensor<8xf32>, tensor<8xi32>, tensor<i32>) -> tensor<8xf32>
      func.return %0 : tensor<8xf32>
      // CHECK-LABEL: unsorted_segment_min
    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/tensorflow/tests/tf-ops.mlir

    // CHECK-LABEL: unsortedSegmentReduction
    func.func @unsortedSegmentReduction(%data: tensor<?x10x8xf32>, %segment_ids: tensor<7x?xi32>, %num_segments: tensor<i32>) {
      // CHECK: tf.UnsortedSegmentMin
      %0 = "tf.UnsortedSegmentMin"(%data, %segment_ids, %num_segments) : (tensor<?x10x8xf32>, tensor<7x?xi32>, 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)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_UnsortedSegmentMinOp: TFL_Op<"unsorted_segment_min", [
        Pure, PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
    
      let summary = "UnsortedSegmentMin operator";
    
      let description = [{
        Computes the minimum value along segments of a tensor such that
        output[i] = min(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)
  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.minimum
      %0 = "tf.UnsortedSegmentMin"(%data, %segment_ids, %num_segments) : (tensor<8x?x64xf32>, tensor<?x16xi32>, tensor<i32>) -> (tensor<4x?xf32>)
      func.return %0: tensor<4x?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: @unsorted_segment_max
    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_DerivedOperandTypeAttr Tnumsegments = TF_DerivedOperandTypeAttr<2>;
    
      let hasVerifier = 1;
    }
    
    def TF_UnsortedSegmentMinOp : TF_Op<"UnsortedSegmentMin", [Pure]> {
      let summary = "Computes the minimum 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

        only be implemented based on `tf.keras.optimizers.Optimizer`, the new
        base class.
    
    ## Major Features and Improvements
    
    *   `tf.lite`:
    
        *   New operations supported:
              * tf.unsortedsegmentmin op is supported.
              * tf.atan2 op is supported.
              * tf.sign op is supported.
        *   Updates to existing operations:
              * tfl.mul now supports complex32 inputs.
    
    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