- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SplatValueType (0.1 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
// to the splate constant value. // `SplatValueType` can be `APInt` or `APFloat`. template <typename SplatValueType> LogicalResult GetConstantSplatValue(Value value, SplatValueType& splat_value) { DenseElementsAttr attr; if (!matchPattern(value, m_Constant(&attr)) || !attr.isSplat()) { return failure(); } splat_value = attr.getSplatValue<SplatValueType>(); 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)