Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 376 for Indices (0.77 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.cc

      // Permute updates if `update_window_dims` are leading indices.
      // Other possibilities for `update_window_dims` are not supported yet.
      if (!IsIotaAttr(update_window_dims, update_window_dims.size()))
        return rewriter.notifyMatchFailure(
            scatter_op, "update_window_dims are not leading or trailing indices");
    
      SmallVector<int64_t, 4> permutation_array(updates_type.getRank());
      int64_t dim = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 02:29:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def LowerScatterNdOp :
      Pat<(TF_ScatterNdOp $indices,
           TensorOf<[AnyInteger, AnyFloat, AnyComplex]>:$updates, $shape, ConstantStrAttr<StrAttr, "">),
          (TF_TensorScatterAddOp
           (TF_FillOp $shape, (TF_ConstOp (GetScalarOfType<0> $updates))),
           $indices, $updates)>;
    
    def LowerScatterNdOpDefaultBadIndicesPolicy :
      Pat<(TF_ScatterNdOp $indices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/go/types/index.go

    // is reported and the result is nil.
    func (check *Checker) singleIndex(expr *typeparams.IndexExpr) ast.Expr {
    	if len(expr.Indices) == 0 {
    		check.errorf(expr.Orig, InvalidSyntaxTree, "index expression %v with 0 indices", expr)
    		return nil
    	}
    	if len(expr.Indices) > 1 {
    		// TODO(rFindley) should this get a distinct error code?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultAttributeMatcher.java

            }
    
            public static <T extends HasAttributes> List<T> getMatchesFromCandidateIndices(int[] indices, List<? extends T> candidates) {
                if (indices.length == 0) {
                    return Collections.emptyList();
                }
    
                List<T> matches = new ArrayList<>(indices.length);
                for (int index : indices) {
                    matches.add(candidates.get(index));
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/array_grad.cc

    }
    
    // Adds the batch offsets to the given indices and returns the results.
    Output GetBatchIndices(const Scope& scope, const Output& params_shape,
                           const Output& indices, int batch_dims) {
      Output batch_indices = indices;
      auto indices_ndims = Rank(scope, indices);
      auto casted_params_shape = Cast(scope, params_shape, indices.type());
      Output accum_dim_value = ConstHelper(scope, 1, indices.type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

    import org.opensearch.action.admin.indices.exists.indices.IndicesExistsResponse;
    import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse;
    import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata;
    import org.opensearch.action.admin.indices.mapping.get.GetMappingsResponse;
    import org.opensearch.action.admin.indices.mapping.put.PutMappingRequestBuilder;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

         *
         * @param target the target location
         * @param source the source location
         * @param indices the list of integers for the indices
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) {
            if (source == null) {
                return target;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Sep 05 16:06:44 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

    namespace {
    
    // Returns contiguous offset (address) of the position represented by `indices`
    // in a `shape` shaped tensor. Assumes row-major order. `indices` and `shape`
    // should have the same size.
    // Example: Index (2, 3) of a (4, 5)-shaped tensor has the contiguous offset of
    // 2 * 5 + 3 = 13.
    int64_t GetContiguousOffset(const ArrayRef<int64_t> indices,
                                const ArrayRef<int64_t> shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/codegen.cc

          indices += absl::StrCat("[dim", dim, "]");
          count *= shape.dimensions(dim);
        }
      }
      rewrites->push_back({"{{I}}", absl::StrCat(i)});
      rewrites->push_back({"{{TYPE}}", type});
      rewrites->push_back({"{{DIM_VARS}}", absl::StrJoin(dim_vars, ", ")});
      rewrites->push_back({"{{DIM_SIZES}}", dim_sizes});
      rewrites->push_back({"{{INDICES}}", indices});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

    func.func @main() -> (!tf_mlrt.tensor, !tf_mlrt.tensor) {
      // CHECK-NEXT: [[r:%.*]]:3 = tf_mlrt.get_resource {indices = [2, 0, 1]}
      // CHECK-NEXT: [[v:%.*]] = tf_mlrt.executeop([[r]]#0, [[r]]#1)
      // CHECK-NEXT: return [[v]], [[r]]#2
      %0 = tf_mlrt.get_resource {indices = [2]} : !tf_mlrt.tensor
      %1 = tf_mlrt.get_resource {indices = [0]} : !tf_mlrt.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top