Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Indices (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let description = [{
    This operation computes
    
        # Scalar indices
        ref[indices, ...] = max(ref[indices, ...], updates[...])
    
        # Vector indices (for each i)
        ref[indices[i], ...] = max(ref[indices[i], ...], updates[i, ...])
    
        # High rank indices (for each i, ..., j)
        ref[indices[i, ..., j], ...] = max(ref[indices[i, ..., j], ...], updates[i, ..., j, ...])
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

              loc, indices, swap_index, scalar_one);
    
          // Then perform the swap.
          // indices[i] <- indices[swaps[i]]
          indices = builder->create<mhlo::DynamicUpdateSliceOp>(
              loc, indices.getType(), indices, target_index, llvm::ArrayRef(i));
          // indices[swaps[i]] <- indices[i]
          indices = builder->create<mhlo::DynamicUpdateSliceOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h

    // Stores information about how to quantize a user-specified custom operation.
    // CustomOpInfo contains info of its corresponding CustomOp registered in the
    // CustomOpMap. 'quantizable_input_indices' is used to determine which indices
    // of the CustomOp are quantizable. 'is_weight_only' is used specify whether the
    // custom op is quantized only for storage and dequantized at runtime.
    // 'no_side_effect' is used to determine whether the op can be pruned if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

            // this loop by index is required to avoid possible ConcurrentModificationException
            val annotations = annotationContainer.resolvedCompilerRequiredAnnotations(firSymbol)
            for (index in annotations.indices) {
                val annotation = annotations[index]
                if (annotation.toAnnotationClassIdSafe(useSiteSession) == classId) {
                    return true
                }
            }
    
            false
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

        for (const auto& phase : group.second) {
          for (const auto& pass : phase.second) {
            // Iterate over the pass_names_ and insert the pass pointer at all the
            // corresponding indices in the pass_ids vector.
            auto iter = pass_names.begin();
            while ((iter = std::find(iter, pass_names.end(), pass->name())) !=
                   pass_names.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      EXPECT_THAT(subgraph->tensors[0]->quantization->zero_point, IsEmpty());
    
      // Testing output (indices) tensor type and ensuring it
      // was not quantized
      EXPECT_THAT(subgraph->tensors[1]->type, Eq(TensorType_INT64));
      EXPECT_THAT(subgraph->tensors[1]->name, Eq("indices"));
      EXPECT_THAT(subgraph->tensors[1]->quantization->scale, IsEmpty());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        AtomicDoubleArray aa = new AtomicDoubleArray(0);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** get and set for out of bound indices throw IndexOutOfBoundsException */
      public void testIndexing() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int index : new int[] {-1, SIZE}) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                                 .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];
            if (vector_indices[j] > max_of_indices) {
              max_of_indices = vector_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. src/cmd/compile/internal/types2/api.go

    func (err Error) Error() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Msg)
    }
    
    // FullError returns an error string like Error, buy it may contain
    // type-checker internal details such as subscript indices for type
    // parameters and more. Useful for debugging.
    func (err Error) FullError() string {
    	return fmt.Sprintf("%s: %s", err.Pos, err.Full)
    }
    
    // An ArgumentError holds an error associated with an argument index.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          !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();
      if (input_idx >= params_ty.getDimSize(0)) return {};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top