- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for MatchReshapedIota (0.2 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc
// // Where $dimensions is of size 1 and $dimensions[0] = 2. // // In general matches a 1-D Iota with multiple dimensions of size 1 added // through a reshape. bool MatchReshapedIota(DenseIntElementsAttr dimensions, Value iota) { if (dimensions.getNumElements() != 1) return false; auto reshape_op = dyn_cast_or_null<mhlo::ReshapeOp>(iota.getDefiningOp()); if (!reshape_op) 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)