- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MatchSingleIota (0.12 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc
// where $dimensions must have size 1 and iota can have rank>=1. // It usually used for matching rank 1 iota since the iotaOp will be folded to // IotaOp + BroadCastInDimOp except for the case when result shape is rank 1. bool MatchSingleIota(DenseIntElementsAttr dimensions, Value iota) { auto iota_op = dyn_cast_or_null<mhlo::IotaOp>(iota.getDefiningOp()); if (!iota_op || dimensions.getNumElements() != 1) return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0)