Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,663 for indices (1.03 sec)

  1. tensorflow/c/eager/unified_api_testutil.cc

      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
        // function op outputs to have nullptrs at the `null_indices`.
        absl::flat_hash_set<int> null_indices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                            }
                            else -> 0
                        }
    
                    fun String.isValidIndex(index: Int) = index in indices
    
                    check(text.isValidIndex(offset))
    
                    val realStartIndex = offset + offsetRelativeIndexRange.first
                    check(text.isValidIndex(realStartIndex))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_32bit.go

    	"unsafe"
    )
    
    const (
    	// The number of levels in the radix tree.
    	summaryLevels = 4
    
    	// Constants for testing.
    	pageAlloc32Bit = 1
    	pageAlloc64Bit = 0
    
    	// Number of bits needed to represent all indices into the L1 of the
    	// chunks map.
    	//
    	// See (*pageAlloc).chunks for more details. Update the documentation
    	// there should this number change.
    	pallocChunksL1Bits = 0
    )
    
    // See comment in mpagealloc_64bit.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    func fairAlloc(demands []float64, capacity float64) []float64 {
    	count := len(demands)
    	indices := make([]int, count)
    	for i := 0; i < count; i++ {
    		indices[i] = i
    	}
    	sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] })
    	alloc := make([]float64, count)
    	var next int
    	var prevAlloc float64
    	for ; next < count; next++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  5. src/go/types/call.go

    	"go/token"
    	. "internal/types/errors"
    	"strings"
    )
    
    // funcInst type-checks a function instantiation.
    // The incoming x must be a generic function.
    // If ix != nil, it provides some or all of the type arguments (ix.Indices).
    // If target != nil, it may be used to infer missing type arguments of x, if any.
    // At least one of T or ix must be provided.
    //
    // There are two modes of operation:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              op.getLoc(), cast_type, clamp_min, cast_op, clamp_max);
          start_indices_vector.push_back(clamped_index);
        }
    
        // Pack individual start indices to start indices tensor.
        Type start_indices_type = RankedTensorType::get(
            {static_cast<int64_t>(start_indices_vector.size())},
            signed_start_indices_element_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

            return true;
        }
    
        /**
         * Finds all the lines in the actual line that match any line in the expected list.
         *
         * @return a map of expected line index to a list of all actual line indices that match the expected line
         */
        private static Map<Integer, List<Integer>> findMatchingLines(List<String> expectedLines, List<String> actualLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // 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
      optional int32 start = 1;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

            FLAGS[prefixFlag or frameFlag or FLAG_PADDED] =
              FLAGS[prefixFlag] + '|'.toString() + FLAGS[frameFlag] + "|PADDED"
          }
        }
    
        for (i in FLAGS.indices) { // Fill in holes with binary representation.
          if (FLAGS[i] == null) FLAGS[i] = BINARY[i]
        }
      }
    
      /**
       * Returns a human-readable representation of HTTP/2 frame headers.
       *
       * The format is:
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

                                  additional_attributes.end()) {}
    
      // Name of the output kernel implementing the contraction fusion.
      std::string output_kernel;
    
      // Indices of additional arguments that will be forwarded to the fused
      // operation (e.g. forward bias vector if fusing BiasAdd operation).
      SmallVector<int, 4> additional_arguments;
    
      // Add additional attributes to the fused node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top