Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setIndices (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Extract out all the constant indices' attributes and verify that data
        // types are static.
        SmallVector<DenseIntElementsAttr, 4> indices;
        indices.reserve(op.getN());
        for (auto it : llvm::zip(op.getIndices(), op.getData())) {
          Value index = std::get<0>(it);
          Value data = std::get<1>(it);
    
          DenseIntElementsAttr index_attr;
          if (!matchPattern(index, m_Constant(&index_attr))) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top