Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchIota (0.12 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        // In the following, we'll check indices is obtained by a iota.
        auto sort_dim_attr = DenseIntElementsAttr::get(
            RankedTensorType::get({1}, rewriter.getI64Type()), {sort_dim});
        if (!MatchIota(sort_dim_attr, indices))
          return rewriter.notifyMatchFailure(
              op, "the second operand is supposed to be obtained from IOTA");
        if (!MatchTopKComparator<mhlo::ReturnOp>(op.getComparator()))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top