Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for crop_values (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        SmallVector<int64_t> slice_sizes = reshaped_permuted_shape;
        SmallVector<int64_t> strides(input_rank, 1);
        auto crop_values = llvm::to_vector<4>(crops.getValues<APInt>());
        for (int i = 0; i < block_rank; ++i) {
          int64_t crop_start = crop_values[i * 2].getSExtValue();
          int64_t crop_end = crop_values[i * 2 + 1].getSExtValue();
    
          if (crop_start < 0 || crop_end < 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/MultilineMultiValueJavadocOptionFileOption.java

        public JavadocOptionFileOptionInternal<List<List<String>>> duplicate() {
            List<List<String>> copyValues = new ArrayList<>();
            for (List<String> occurrence : getValue()) {
                copyValues.add(Lists.newArrayList(occurrence));
            }
            return new MultilineMultiValueJavadocOptionFileOption(option, copyValues, joinBy);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/net/http/http_test.go

    		"j": {"1", "2"},
    		"m": nil,
    	}
    	for i := 0; i < b.N; i++ {
    		dst := url.Values{"a": {"b"}, "b": {"2"}, "c": {"3"}, "d": {"4"}, "j": nil, "m": {"x"}}
    		copyValues(dst, src)
    		if valuesCount = len(dst["a"]); valuesCount != 6 {
    			b.Fatalf(`%d items in dst["a"] but expected 6`, valuesCount)
    		}
    	}
    	if valuesCount == 0 {
    		b.Fatal("Benchmark wasn't run")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

                   << ", and block_size " << block_size;
    
          if (!crops_values.empty()) {
            // output spatial dim = input spatial dim * block_size - crops.
            int64_t crop_a = crops_values[2 * (spatial_dim_index - 1)];
            int64_t crop_b = crops_values[2 * (spatial_dim_index - 1) + 1];
            if (output_dim != input_dim_pad - crop_a - crop_b)
              return op.emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. src/net/http/request.go

    		res.requestTooLarge()
    	}
    	l.err = &MaxBytesError{l.i}
    	return n, l.err
    }
    
    func (l *maxBytesReader) Close() error {
    	return l.r.Close()
    }
    
    func copyValues(dst, src url.Values) {
    	for k, vs := range src {
    		dst[k] = append(dst[k], vs...)
    	}
    }
    
    func parsePostForm(r *Request) (vs url.Values, err error) {
    	if r.Body == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/runtime/map.go

    	offset := uint8(r >> h.B & (abi.MapBucketCount - 1))
    	if h.B == 0 {
    		copyValues(t, h, (*bmap)(h.buckets), s, offset)
    		return
    	}
    	arraySize := int(bucketShift(h.B))
    	buckets := h.buckets
    	for i := 0; i < arraySize; i++ {
    		bucket := (i + r) & (arraySize - 1)
    		b := (*bmap)(add(buckets, uintptr(bucket)*uintptr(t.BucketSize)))
    		copyValues(t, h, b, s, offset)
    	}
    
    	if h.growing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top