Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for kSize2 (0.14 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

    // first k fields of t1 equals the first k fields of t2.
    // SameSizeTuplePrefixComparator(k1, k2) would be a compiler error if
    // k1 != k2.
    template <int kSize1, int kSize2>
    struct SameSizeTuplePrefixComparator;
    
    template <>
    struct SameSizeTuplePrefixComparator<0, 0> {
      template <class Tuple1, class Tuple2>
      static bool Eq(const Tuple1& /* t1 */, const Tuple2& /* t2 */) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

    // first k fields of t1 equals the first k fields of t2.
    // SameSizeTuplePrefixComparator(k1, k2) would be a compiler error if
    // k1 != k2.
    template <int kSize1, int kSize2>
    struct SameSizeTuplePrefixComparator;
    
    template <>
    struct SameSizeTuplePrefixComparator<0, 0> {
      template <class Tuple1, class Tuple2>
      static bool Eq(const Tuple1& /* t1 */, const Tuple2& /* t2 */) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/math/big/rat.go

    	if alen == 0 {
    		return 0, true
    	}
    	blen := b.bitLen()
    	if blen == 0 {
    		panic("division by zero")
    	}
    
    	// 1. Left-shift A or B such that quotient A/B is in [1<<Msize1, 1<<(Msize2+1)
    	// (Msize2 bits if A < B when they are left-aligned, Msize2+1 bits if A >= B).
    	// This is 2 or 3 more than the float32 mantissa field width of Msize:
    	// - the optional extra bit is shifted away in step 3 below.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  4. tensorflow/cc/gradients/nn_grad.cc

      string data_format;
      string padding;
      std::vector<int32> strides;
      std::vector<int32> ksize;
      auto attrs = op.output(0).node()->attrs();
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "data_format", &data_format));
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "ksize", &ksize));
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "padding", &padding));
      TF_RETURN_IF_ERROR(GetNodeAttr(attrs, "strides", &strides));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/nn_grad_test.cc

      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      // Setup window and strides so that we only do one MaxPool.
      const std::vector<int> ksize{1, 2, 2, 1};
      const std::vector<int> strides{1, 2, 2, 1};
      auto y = MaxPool(scope_, x, ksize, strides, "VALID");
      Tensor x_init_value = Tensor(DT_FLOAT, x_shape);
      SetRandomValuesForMaxPooling<float>(&x_init_value);
      RunTest(x, x_init_value, y, y_shape);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeAveragePool : Pat<(TF_AvgPoolOp $value,
                  IsIntList1XY1:$ksize,
                  IsIntList1XY1:$strides,
                  $padding,
                  IsDataFormatNHWC:$format),
              (TFL_AveragePool2DOp $value,
                  /*filter_height=*/ExtractI32At<1>:$ksize,
                  /*filter_width=*/ExtractI32At<2>:$ksize,
                  /*padding=*/$padding,
                  /*stride_h=*/ExtractI32At<1>:$strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

      %1 = "quantfork.dcast"(%0) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>) -> tensor<*xf32>
      %2 = "tf.MaxPool"(%1) {data_format = "NHWC", device = "", explicit_paddings = [], ksize = [1, 2, 2, 1], padding = "VALID", strides = [1, 2, 2, 1]} : (tensor<*xf32>) -> tensor<*xf32>
      %3 = "quantfork.qcast"(%2) {volatile} : (tensor<*xf32>) -> tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. src/unicode/utf8/utf8_test.go

    			t.Errorf("DecodeRune(%q) = %#04x, want %#04x", s[i:], r1, r)
    			return
    		}
    		r2, size2 := DecodeRuneInString(s[i:])
    		if r != r2 {
    			t.Errorf("DecodeRuneInString(%q) = %#04x, want %#04x", s[i:], r2, r)
    			return
    		}
    		if size1 != size2 {
    			t.Errorf("DecodeRune/DecodeRuneInString(%q) size mismatch %d/%d", s[i:], size1, size2)
    			return
    		}
    		si += size1
    	}
    	j--
    	for si = len(s); si > 0; {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  9. src/runtime/string.go

    	var dum [4]byte
    	size1 := 0
    	for _, r := range a {
    		size1 += encoderune(dum[:], r)
    	}
    	s, b := rawstringtmp(buf, size1+3)
    	size2 := 0
    	for _, r := range a {
    		// check for race
    		if size2 >= size1 {
    			break
    		}
    		size2 += encoderune(b[size2:], r)
    	}
    	return s[:size2]
    }
    
    type stringStruct struct {
    	str unsafe.Pointer
    	len int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          CompileTimeConstantOperand<TF::MaxOp, 1>,  // $reduction_indices
          // $ksize, $strides
          CompileTimeConstantOperand<TF::MaxPoolGradGradV2Op, 3, 4>,
          // $ksize, $strides
          CompileTimeConstantOperand<TF::MaxPoolGradV2Op, 2, 3>,
          CompileTimeConstantOperand<TF::MaxPoolV2Op, 1, 2>,   // $ksize, $strides
          CompileTimeConstantOperand<TF::MeanOp, 1>,           // $reduction_indices
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top