- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MatchIota (0.15 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.h
// 1. IotaOp. // 2. IotaOp + BroadCastInDim. // 3. IotaOp + Reshape. // 4. Constant (folded Iota) + BroadCastInDim. // 5. Constant (folded result). // Moreover, the dimensions has to match the iota_dimension. bool MatchIota(DenseIntElementsAttr dimensions, Value iota); } // namespace odml } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h
if (iota_init.getValues<APInt>()[0] != 0) return failure(); // Verify that the second argument is an Iota op along the same dimension // as the reduction. Value iota = reduce_op.getInputs().back(); if (!MatchIota(reduce_op.getDimensions(), iota)) return failure(); // Match the reduction computation. const bool is_float = mlir::isa<FloatType>(operand_init.getElementType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.7K bytes - Viewed (0)