- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BuildIntConstOp (0.11 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
if (!MatchTopKComparator<mhlo::ReturnOp>(op.getComparator())) return rewriter.notifyMatchFailure(op, "only match for GT comparator"); ImplicitLocOpBuilder builder(op.getLoc(), rewriter); Value k_cst = BuildIntConstOp(builder, rewriter, k, rewriter.getI32Type()); rewriter.replaceOpWithNewOp<TF::TopKV2Op>(op, keys.getType(), indices.getType(), keys, k_cst); return success(); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)