Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 408 for Indices (0.26 sec)

  1. src/cmd/go/internal/modload/init.go

    		return nil
    	}
    	return mms.indices[mms.mustGetSingleMainModule()]
    }
    
    func (mms *MainModuleSet) Index(m module.Version) *modFileIndex {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	return mms.indices[m]
    }
    
    func (mms *MainModuleSet) SetIndex(m module.Version, index *modFileIndex) {
    	mms.indexMu.Lock()
    	defer mms.indexMu.Unlock()
    	mms.indices[m] = index
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // canonicalization because it is neither supported in the old bridge
    // nor in the reference TF implementation.
    def GatherToV2 : Pat<
      (TF_GatherOp:$src $params, $indices, $ignored_validate_indices),
      (TF_GatherV2Op:$dest $params, $indices, (TF_ConstOp (GetI32Attr<0>)),
        (GetI64Attr<0>)),
      [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    // CHECK-LABEL: @gather_v2
    //  CHECK-SAME: %[[PARAMS:[a-zA-Z0-9_]+]]
    //  CHECK-SAME: %[[INDICES:[a-zA-Z0-9_]+]]
    func.func @gather_v2(%params: tensor<16x2x3xf32>, %indices: tensor<16x5xi32>) -> tensor<16x2x5xf32> {
      //      CHECK: mhlo.torch_index_select
      // CHECK-SAME:   %[[PARAMS]], %[[INDICES]]
      // CHECK-SAME:   batch_dims = 1
      // CHECK-SAME:   dim = 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  10. 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)
Back to top