Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 83 for Indices (0.23 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        const std::vector<int>& tensors = lstm_property.restrict_scale[0];
        if (tensors.size() != 2) {
          op.emitError(
              "Unexpected restricted_scale from operator property."
              " Should only have a pair of indices.");
          return failure();
        }
        return processRestrictScale(op, tensors[0], tensors[1], rewriter);
      }
    
     private:
      // For LSTM's recurrent input activation and output, they are quantized with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. src/go/token/position.go

    	// we need to remove the entry in lines corresponding to the line
    	// numbered <line+1>. The entry in lines corresponding to the line
    	// numbered <line+1> is located at index <line>, since indices in lines
    	// are 0-based and line numbers are 1-based.
    	copy(f.lines[line:], f.lines[line+1:])
    	f.lines = f.lines[:len(f.lines)-1]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // been decomposed and function calls have already been inlined. If `functions`
    // is empty, the pass is applied to the main function by default. The pass also
    // annotates the input arguments for resources with the indices of their
    // aliasing output arguments.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePromoteResourcesToArgsPass(
        llvm::ArrayRef<std::string> functions = {});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

        static boolean hashFloodingDetected(@Nullable Object[] hashTable) {
          int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
          int mask = hashTable.length - 1;
    
          // Invariant: all elements at indices in [knownRunStart, knownRunEnd) are nonnull.
          // If knownRunStart == knownRunEnd, this is vacuously true.
          // When knownRunEnd exceeds hashTable.length, it "wraps", detecting runs around the end
          // of the table.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

                                                 PatternRewriter& rewriter) {
      auto inputs = op.getInputs();
      Value lhs = inputs.front();
    
      // Having indices in dnums.lhs list indicates that the ranks of the input and
      // output to the unary einsum are not equal making it non-candidate for simple
      // transpose.
      bool needs_reduce_sum = false;
      if (!dnums.lhs.empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. src/go/types/resolver.go

    	}
    
    	// unpack type parameters, if any
    	switch rtyp.(type) {
    	case *ast.IndexExpr, *ast.IndexListExpr:
    		ix := typeparams.UnpackIndexExpr(rtyp)
    		rtyp = ix.X
    		if unpackParams {
    			for _, arg := range ix.Indices {
    				var par *ast.Ident
    				switch arg := arg.(type) {
    				case *ast.Ident:
    					par = arg
    				case *ast.BadExpr:
    					// ignore - error already reported by parser
    				case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//  var s = []int{1,2,3}
    	//  var _ = s[-1]
    	//
    	// Example:
    	//  var s = []int{1,2,3}
    	//  var i string
    	//  var _ = s[i]
    	InvalidIndex
    
    	// SwappedSliceIndices occurs when constant indices in a slice expression
    	// are decreasing in value.
    	//
    	// Example:
    	//  var _ = []int{1,2,3}[2:1]
    	SwappedSliceIndices
    
    	/* operators > slice */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. src/go/types/unify.go

    // The result is never nil and has the same length as tparams; result types that
    // could not be inferred are nil. Corresponding type parameters and result types
    // have identical indices.
    func (u *unifier) inferred(tparams []*TypeParam) []Type {
    	list := make([]Type, len(tparams))
    	for i, x := range tparams {
    		list[i] = u.at(x)
    	}
    	return list
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_control.go

    			// if the ordinal is valid, but not within the range add it to the condemned list
    			condemned = append(condemned, pod)
    		}
    		// If the ordinal could not be parsed (ord < 0), ignore the Pod.
    	}
    
    	// for any empty indices in the sequence [0,set.Spec.Replicas) create a new Pod at the correct revision
    	for ord := getStartOrdinal(set); ord <= getEndOrdinal(set); ord++ {
    		replicaIdx := ord - getStartOrdinal(set)
    		if replicas[replicaIdx] == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

                    replicated_input_ops.push_back(ri);
                  }
                }
              }
            }
          });
    
      if (failed(status)) return mlir::failure();
    
      // Indices of the replicate op's arguments that are mirrored variables.
      llvm::SmallVector<int64_t, 8> mirrored_variable_indices;
    
      // Check if number of operands of each used TPUReplicatedInput op matches
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
Back to top