- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TOPK_V2 (0.08 sec)
-
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) -
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) -
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)