Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for stride1 (0.13 sec)

  1. src/image/jpeg/reader_test.go

    func check(bounds image.Rectangle, pix0, pix1 []byte, stride0, stride1 int) error {
    	if stride0 <= 0 || stride0%8 != 0 {
    		return fmt.Errorf("bad stride %d", stride0)
    	}
    	if stride1 <= 0 || stride1%8 != 0 {
    		return fmt.Errorf("bad stride %d", stride1)
    	}
    	// Compare the two pix data, one 8x8 block at a time.
    	for y := 0; y < len(pix0)/stride0 && y < len(pix1)/stride1; y += 8 {
    		for x := 0; x < stride0 && x < stride1; x += 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. test/loopbce.go

    	for i := 3; i > 6; i++ {
    		a[i] = 0
    	}
    	for i := 7; i < 3; i-- {
    		a[i] = 1
    	}
    }
    
    func stride1(x *[7]int) int {
    	s := 0
    	for i := 0; i <= 8; i += 3 { // ERROR "Induction variable: limits \[0,6\], increment 3"
    		s += x[i] // ERROR "Proved IsInBounds"
    	}
    	return s
    }
    
    func stride2(x *[7]int) int {
    	s := 0
    	for i := 0; i < 9; i += 3 { // ERROR "Induction variable: limits \[0,6\], increment 3"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

          input=input_, ksize=ksize, strides=strides, padding=padding)
    
    
    @tf.RegisterGradient('NewMaxPool')
    def _max_pool_grad(op: ops.Operation, grad):
      filter_width = op.get_attr('filter_width')
      filter_height = op.get_attr('filter_height')
      stride_w = op.get_attr('stride_w')
      stride_h = op.get_attr('stride_h')
      padding = op.get_attr('padding')
      return tf.raw_ops.MaxPoolGrad(
          orig_input=op.inputs[0],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

      Value stride_value = CreateScalarConstValue<int32_t>(builder, loc, stride);
      Value dilation_rate_value =
          CreateScalarConstValue<int32_t>(builder, loc, dilation_rate);
    
      Value effective_filter_size_op = scalar_add(
          scalar_mul(dilation_rate_value, scalar_sub(filter_size, one)), one);
    
      // output_size = (input_size + stride - 1) / stride
      Value output_size = scalar_div(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

                                /*padding*/(GetAvgPoolOpPadAttr $old_val),
                                /*stride_h*/(GetI32At<0> (GetAsVectorAttr<"stride"> $attrs)),
                                /*stride_w*/(GetI32At<1> (GetAsVectorAttr<"stride"> $attrs)),
                                /*fused_activation_function*/TFL_AF_None,
                                (returnType (GetNhwcReturnTypeFromNchw $old_val))), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md

    kernel\_size, 3, out\_channel]. Space to depth is to transform this first
    convolution's input to [batch\_size, height // stride, width // stride, 3 \*
    stride \* stride] and the kernel to [kernel\_size // stride, kernel\_size //
    stride, 3 \* stride \* stride, out\_channel] to improve TPU MXU utilization.
    
    ![drawings](images/space_to_depth_transform.png)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Oct 24 02:51:43 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      /**
       * Creates a {@code Striped<Lock>} with eagerly initialized, strongly referenced locks. Every lock
       * is reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<Lock>}
       */
      public static Striped<Lock> lock(int stripes) {
        return custom(stripes, PaddedLock::new);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/decompose-hybrid-quantization.mlir

      // CHECK: %[[VAL3:.+]] = "tfl.conv_3d"(%arg0, %[[VAL2]], %[[VAL0]]) <{dilation_d_factor = 1 : i32, dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_d = 1 : i32, stride_h = 1 : i32, stride_w = 1 : i32}>
      // CHECK: return %[[VAL3]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                  IsIntList1XY1:$ksize,
                  IsIntList1XY1:$strides,
                  $padding,
                  $explicit_paddings,
                  IsDataFormatNHWC:$format),
              (TFL_MaxPool2DOp $value,
                  /*padding=*/$padding,
                  /*stride_w=*/ExtractI32At<2>:$strides,
                  /*stride_h=*/ExtractI32At<1>:$strides,
                  /*filter_width=*/ExtractI32At<2>:$ksize,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

        PatternRewriter& rewriter, llvm::StringMap<Attribute>& identifier_to_attr) {
      ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
      const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt();
      const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt();
      return rewriter.getI64ArrayAttr({stride_h, stride_w});
    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top