Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UnsortedSegmentProd (0.25 sec)

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

    }
    
    func.func @unsorted_segment_prod(%arg0: tensor<8xf32>, %arg1: tensor<8xi32>) -> tensor<8xf32> {
      %num_segments = "tf.Const"() {value = dense<8> : tensor<i32>} : () -> tensor<i32>
      %0 = "tf.UnsortedSegmentProd"(%arg0, %arg1, %num_segments) : (tensor<8xf32>, tensor<8xi32>, tensor<i32>) -> tensor<8xf32>
      func.return %0 : tensor<8xf32>
      // CHECK-LABEL: unsorted_segment_prod
    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_UnsortedSegmentProdOp: TFL_Op<"unsorted_segment_prod", [
        Pure,
        PredOpTrait<"input and output must have same element type",
          TFL_TCresVTEtIsSameAsOp<0, 0>>]> {
      let summary = "UnsortedSegmentProd operator";
    
      let description = [{
        Computes the product 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/tests/tf-ops.mlir

      // expected-error @+1 {{requires segment ids shape to be a prefix of data shape, but dimension #1 differs: 9 vs. 10}}
      %0 = "tf.UnsortedSegmentProd"(%data, %segment_ids, %num_segments) : (tensor<7x10x8xf32>, tensor<7x9xi32>, 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)
Back to top