Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 158 for Indices (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          int64_t& inferred_dim = (*inferred_item_shape)[i];
          int64_t dim = item_shape[i];
          if (ShapedType::isDynamic(inferred_dim)) inferred_dim = dim;
        }
      }
    
      // If all indices are constants, then verify that they cover all indices in
      // the range [0, max_index] and the output type is legal.
      if (all_indices_const) {
        for (int32_t i = 0; i <= max_index; i++) {
          if (!index_values.count(i))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            if self.same_scale_op == 'concatenate':
              ones = array_ops.ones_like(out)
              out = array_ops.concat([out, ones], 0)
            elif self.same_scale_op == 'gather':
              out = array_ops.gather(out, indices=[0], axis=0)
            elif self.same_scale_op == 'max_pool':
              out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME')
            elif self.same_scale_op == 'pad':
              paddings = array_ops.ones(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

                   PatternRewriter& rewriter) const override {
        rewriter.replaceOpWithNewOp<TFL::GatherNdOp>(
            op, /*output=*/op.getResult().getType(), /*params=*/op.getOperand(),
            /*indices=*/op.getStartIndices());
      }
    };
    
    // Rewrites quantized stablehlo.dynamic_slice to tfl.slice.
    // TODO: b/322428814 - Add StableHLO quantizer integration tests for ODML.
    class RewriteQuantizedDynamicSliceOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/pgen.go

    	s.stksize = 0
    	s.stkptrsize = 0
    	s.stkalign = int64(types.RegSize)
    	fn := s.curfn
    
    	// Mark the PAUTO's unused.
    	for _, ln := range fn.Dcl {
    		if ln.OpenDeferSlot() {
    			// Open-coded defer slots have indices that were assigned
    			// upfront during SSA construction, but the defer statement can
    			// later get removed during deadcode elimination (#61895). To
    			// keep their relative offsets correct, treat them all as used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. src/compress/bzip2/bzip2.go

    	clear(bz2.c[:])
    
    	decoded := 0 // counts the number of symbols decoded by the current tree.
    	for {
    		if decoded == 50 {
    			if selectorIndex >= numSelectors {
    				return StructuralError("insufficient selector indices for number of symbols")
    			}
    			if int(treeIndexes[selectorIndex]) >= len(huffmanTrees) {
    				return StructuralError("tree selector out of range")
    			}
    			currentHuffmanTree = huffmanTrees[treeIndexes[selectorIndex]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

      // the operand doesn't support per-channel quantization.
      llvm::DenseMap<int, int> coeff_op_quant_dim;
    
      // Indices of quantizable operands. Biases are not included in this field,
      // the indices of biases can be found in the `biases_params`.
      absl::flat_hash_set<int> quantizable_operands;
    };
    
    // A function signature for getting the particular OpQuantSpec for the provided
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types.go

    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    	// +optional
    	Start int32 `json:"start" protobuf:"varint,1,opt,name=start"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/plugin/noderesources.go

    		driverResources = active.resources
    	}
    	c.mutex.RUnlock()
    
    	// Resources that are not yet stored in any slice need to be published.
    	// Here we track the indices of any resources that are already stored.
    	storedResourceIndices := sets.New[int]()
    
    	// Slices that don't match any driver resource can either be updated (if there
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

                                           const ArrayRef<int64_t> lhs_shape,
                                           const ArrayRef<int64_t> rhs_shape) {
      SmallVector<int64_t> output_shape;
    
      // Prepare necessary indices.
      absl::flat_hash_set<int64_t> lhs_remove_idx, rhs_remove_idx;
      for (auto v : ddn.lhs_batch_dimensions()) {
        lhs_remove_idx.insert(v);
      }
      for (auto v : ddn.lhs_contracting_dimensions()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

      // So instead we capture all the updates in the below map, and then
      // process them after.
    
      // Container to hold all update actions on ops.
      // Key: Operation to update.
      // Value: optional list of argument indices to delete from this op.
      // Note that we use MapVector because we want to iterate on the same order
      // of insertion.
      llvm::MapVector<Operation*, llvm::SmallVector<unsigned int, 4>>
          arguments_to_erase;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top