Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TOPK_V2 (0.25 sec)

  1. 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)
  2. 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)
Back to top