Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchIotaConst (0.11 sec)

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

    // where $dimensions is of size 1.
    //
    // StridedArrayViews are used to check the iota property across the constant
    // data so that the iota dimension does not need to be the (inner) z-dimension.
    bool MatchIotaConst(DenseIntElementsAttr dimensions, Value iota) {
      DenseIntElementsAttr iota_const_attr;
      if (!matchPattern(iota, m_Constant(&iota_const_attr))) return false;
    
      auto iota_type = iota_const_attr.getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top