Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for setIndices (0.3 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                                .getData()
                                .computeIfAbsent(PROJECT_INDEX, () -> new ProjectIndex(session.getProjects()));
    
                        int index = projectIndex.getIndices().get(projectId);
    
                        MavenProject forkedProject = projectIndex.getProjects().get(projectId);
    
                        forkedProjects.add(forkedProject);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

        return gather.emitOpError("unknown tensor array");
      }
      OpBuilder builder(gather);
      auto buffer = cutil::ReadLocalVariable(local_var, builder, gather.getLoc());
      auto result = cutil::GatherElements(gather.getIndices(), buffer, builder,
                                          gather.getLoc());
      ReplaceAllUsesExceptTerminator(gather.getValue(), result);
      ReplaceAllUsesWithCast(gather.getValue(), result);
      gather.erase();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          rewriter.replaceOpWithNewOp<mhlo::GatherOp>(
              op, op.getType(), op.getParams(), op.getIndices(), dims_attr,
              GetI64ElementsAttr(slice_sizes, &rewriter));
        } else {
          rewriter.replaceOpWithNewOp<mhlo::DynamicGatherOp>(
              op, op.getType(), op.getParams(), op.getIndices(), slice_sizes_value,
              dims_attr);
        }
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

            "requires tensor operand to have at least 1 dimension");
      if (!HasRankAtLeast(op.getIndices(), 1))
        return op.emitOpError(
            "requires indices operand to have at least 1 dimension");
    
      auto tensor_ty = op.getTensor().getType().dyn_cast<RankedTensorType>();
      auto indices_ty = op.getIndices().getType().dyn_cast<RankedTensorType>();
      if (!tensor_ty || !indices_ty) return success();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      }
    
      llvm::SmallDenseSet<int64_t, 8> index_values;
      bool all_indices_const = true;
      int32_t max_index = -1;
      std::optional<SmallVector<int64_t, 4>> inferred_item_shape;
      for (auto it : llvm::zip(op.getIndices(), op.getData())) {
        Value index = std::get<0>(it);
    
        DenseIntElementsAttr index_attr;
        if (matchPattern(index, m_Constant(&index_attr))) {
          for (int32_t index : index_attr.getValues<int32_t>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          axis.getNumElements() != 1 ||
          !axis.getSplatValue<llvm::APInt>().isZero()) {
        return {};
      }
    
      DenseIntElementsAttr indices;
      if (!matchPattern(op.getIndices(), m_Constant(&indices)) ||
          indices.getType().getRank() != 1 || port[1] >= indices.getNumElements()) {
        return {};
      }
    
      int64_t input_idx = indices.getValues<IntegerAttr>()[port[1]].getInt();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

            array_segments = tflite::CreateInt32Vector(
                                 builder_, builder_.CreateVector(vector_segments))
                                 .Union();
          }
    
          auto indices = dim_metadata.getIndices();
          std::vector<int> vector_indices(indices.size(), 0);
          int max_of_indices = 0;
          for (int j = 0, end = indices.size(); j < end; j++) {
            vector_indices[j] = indices[j];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    // ScatterNdOp
    //===----------------------------------------------------------------------===//
    
    mlir::LogicalResult ScatterNdOp::verify() {
      ScatterNdOp op = *this;
      auto indices = op.getIndices();
      auto updates = op.getUpdates();
      auto shape = op.getShape();
      auto output = op.getOutput();
    
      auto updates_type = updates.getType().cast<ShapedType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top