Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for Indices (0.47 sec)

  1. src/cmd/compile/internal/types2/check_test.go

    					continue
    				}
    			}
    			indices = append(indices, i)
    		}
    		if len(indices) == 0 {
    			t.Errorf("%s: no error expected: %q", gotPos, gotMsg)
    			continue
    		}
    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta uint
    		for _, i := range indices {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

    def DecomposeResourceScatterAdd : Pat<
      (TF_ResourceScatterAddOp:$src_op $resource, $indices, $updates),
      (TF_AssignVariableOp
        $resource,
        (TF_TensorScatterAddOp
          (CreateTFReadVariableOp $src_op, $updates, $resource),
          (TF_ExpandDimsOp $indices,
           (TF_ConstOp (GetScalarOfType<-1> $indices))),
          $updates
        ),
        (CreateConstBoolAttrFalse)
      )>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      SmallVector<int64_t> indices(index_map_size);
      for (int64_t i = 0; i < index_map_size; i++) {
        indices[i] = dimension_numbers.start_index_map()[i];
      }
    
      // Fill elements from start_indices with start_index_map
      Value scattered_start_indices = builder.create<TF::TensorScatterUpdateOp>(
          loc, empty_start_indices,
          /*indices=*/
          builder.create<TF::ReshapeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      SmallVector<TransposeOp, 2> transpose_ops;
    
      // Constant operation that defines permutation indices for result transposes.
      ConstOp permutation_op;
    
      // All operation results must be used by transpose operations with the same
      // permutation indices.
      for (OpResult result : op->getResults()) {
        for (Operation* user : result.getUsers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function.cc

          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
                                   " appears more than once in the input list");
          }
          indices.push_back(idx);
        }
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. internal/event/target/elasticsearch.go

    	res, err := c.Indices.ResolveIndex([]string{args.Index})
    	if err != nil {
    		return err
    	}
    	defer res.Body.Close()
    
    	var v map[string]interface{}
    	found := false
    	if err := json.NewDecoder(res.Body).Decode(&v); err != nil {
    		return fmt.Errorf("Error parsing response body: %v", err)
    	}
    
    	indices, ok := v["indices"].([]interface{})
    	if ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    //===----------------------------------------------------------------------===//
    
    def LowerTensorScatterAdd: Pat<
      (TF_TensorScatterAddOp $input, $indices, $updates),
      (TF_TensorScatterUpdateOp $input, $indices,
         (TF_AddOp $updates, (CreateGatherNdOp $updates, $input, $indices)))>;
    
    //===----------------------------------------------------------------------===//
    // AddV2 op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          op->setAttr(attr.getName(),
                      FlatSymbolRefAttr::get(op->getContext(), cloned.getName()));
          break;
        }
      }
    
      // Traverse results backward so that indices to be deleted stay unchanged.
      for (OpResult result : llvm::reverse(op->getResults())) {
        if (!result.use_empty()) continue;
        int result_idx = result.getResultNumber();
        for (func::FuncOp func : cloned_branches)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        // final_op = "Div"
        llvm::SmallVector<int64_t> indices(group_size.getInt());
        std::iota(indices.begin(), indices.end(), 0);
    
        auto replica_groups = mlir::DenseIntElementsAttr::get(
            mlir::RankedTensorType::get({1, group_size.getInt()},
                                        rewriter.getI64Type()),
            indices);
    
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      let description = [{
        Get a tensor in resource array.
    
        indices: the indices in the resource array.
        results: the tensor values for the corresponding indices.
    
        in_ch and out_ch are for control dependencies.
      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        StrAttr:$device,
        I64ArrayAttr:$indices
      );
    
      let results = (outs
        TFRT_ChainType:$out_ch,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top