Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TOPK_V2 (0.1 sec)

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

      %0, %1 = "tf.TopKV2"(%arg0, %arg1) : (tensor<8xf32>, tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>)
      func.return %0, %1: tensor<?xf32>, tensor<?xi32>
    
    // CHECK-LABEL: topk
    // CHECK:  "tfl.topk_v2"(%arg0, %arg1)
    // CHECK:  return
    }
    
    func.func @topk_2(%arg0: tensor<8xf32>) -> (tensor<2xf32>, tensor<2xi32>) {
      %0 = "tf.Const"() { value = dense<2> : tensor<i32> } : () -> tensor<i32>
    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/tests/flatbuffer2mlir/test_schema.fbs

      TRANSPOSE = 39,
      MEAN = 40,
      SUB = 41,
      DIV = 42,
      SQUEEZE = 43,
      UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
      STRIDED_SLICE = 45,
      BIDIRECTIONAL_SEQUENCE_RNN = 46,
      EXP = 47,
      TOPK_V2 = 48,
      SPLIT = 49,
      LOG_SOFTMAX = 50,
      // DELEGATE is a special op type for the operations which are delegated to
      // other backends.
      // WARNING: Experimental interface, subject to change
      DELEGATE = 51,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/optimize.mlir

    // CHECK:           %[[VALUES:.*]], %[[INDICES:.*]] = "tfl.topk_v2"(%[[ARG]], %[[K]]) : (tensor<3x10xf32>, tensor<i32>) -> (tensor<3x5xf32>, tensor<3x5xi32>)
    // CHECK:           return %[[VALUES]] : tensor<3x5xf32>
    // CHECK:         }
    func.func @optimizeTopKOnlyValues(%arg: tensor<3x10xf32>) -> tensor<3x5xf32>{
      %K = arith.constant dense<10> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      TRANSPOSE = 39,
      MEAN = 40,
      SUB = 41,
      DIV = 42,
      SQUEEZE = 43,
      UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
      STRIDED_SLICE = 45,
      BIDIRECTIONAL_SEQUENCE_RNN = 46,
      EXP = 47,
      TOPK_V2 = 48,
      SPLIT = 49,
      LOG_SOFTMAX = 50,
      // DELEGATE is a special op type for the operations which are delegated to
      // other backends.
      // WARNING: Experimental interface, subject to change
      DELEGATE = 51,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0, %1 = "tfl.topk_v2"(%arg0, %arg1) : (tensor<8xf32>, tensor<i32>) -> (tensor<?xf32>, tensor<?xi32>)
      func.return %0, %1: tensor<?xf32>, tensor<?xi32>
    }
    
    // -----
    
    // CHECK-LABEL: topk
    func.func @topk(%arg0: tensor<*xf32>, %arg1: tensor<i32>) -> (tensor<*xf32>, tensor<*xi32>) {
      %0, %1 = "tfl.topk_v2"(%arg0, %arg1) : (tensor<*xf32>, tensor<i32>) -> (tensor<*xf32>, tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema.fbs

      TRANSPOSE = 39,
      MEAN = 40,
      SUB = 41,
      DIV = 42,
      SQUEEZE = 43,
      UNIDIRECTIONAL_SEQUENCE_LSTM = 44,
      STRIDED_SLICE = 45,
      BIDIRECTIONAL_SEQUENCE_RNN = 46,
      EXP = 47,
      TOPK_V2 = 48,
      SPLIT = 49,
      LOG_SOFTMAX = 50,
      // DELEGATE is a special op type for the operations which are delegated to
      // other backends.
      // WARNING: Experimental interface, subject to change
      DELEGATE = 51,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      func.return %0#0, %0#1: tensor<16x?xf32>, tensor<16x?xi32>
    }
    
    // -----
    
    // CHECK-LABEL: topk_v2
    // CHECK-SAME: %[[INPUT:.*]]: tensor<16x16xf32>
    func.func @topk_v2(%input: tensor<16x16xf32>) -> (tensor<16x8xf32>, tensor<16x8xi32>) {
      %k = "tf.Const"() {value = dense<8> : tensor<i32>} : () -> tensor<i32>
    
    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/lite/ir/tfl_ops.td

    // TODO(jpienaar): Check that input has one or more dimensions.
    // TODO(jpienaar): Check that k is less or equal the internal dimension
    def TFL_TopKV2Op: TFL_Op<"topk_v2", [
        QuantizableResult,
        Pure,
        TFL_OperandHasRankAtLeast<0, 1>,
        TFL_OperandHasRank<1, 0>,
        PredOpTrait<"result and input element type match",
          TFL_TCresVTEtIsSameAsOp<0,0>>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. RELEASE.md

    *   `parallel_for`: Add converter for `MatrixDiag`.
    *   Add `narrow_range` attribute to `QuantizeAndDequantizeV2` and V3.
    *   Added new op: `tf.strings.unsorted_segment_join`.
    *   Add HW acceleration support for `topK_v2`.
    *   Add new `TypeSpec` classes.
    *   CloudBigtable version updated to v0.10.0.
    *   Expose `Head` as public API.
    *   Update docstring for gather to properly describe the non-empty `batch_dims`
        case.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top