Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 87 for Indices (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
       * elements directly and null for empty positions, we store indices of the keys in the hash table,
       * and ABSENT for empty positions.  We then look up the keys in alternatingKeysAndValues.
       *
       * (The index actually stored is the index of the key in alternatingKeysAndValues, which is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K 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. src/time/zoneinfo_read.go

    			}
    			n[i] = int(nn)
    		}
    	}
    
    	size := 4
    	if is64 {
    		size = 8
    	}
    
    	// Transition times.
    	txtimes := dataIO{d.read(n[NTime] * size), false}
    
    	// Time zone indices for transition times.
    	txzones := d.read(n[NTime])
    
    	// Zone info structures
    	zonedata := dataIO{d.read(n[NZone] * 6), false}
    
    	// Time zone abbreviations.
    	abbrev := d.read(n[NChar])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top