Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 232 for stride_w (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      // expected-warning @+1 {{'strides' attribute for MaxUnpooling2D does not contain integer values}}
    func.func private @max_unpooling_2d_strides_wrong_type(%arg0: tensor<1x1x2x1xf32>, %arg1: tensor<1x1x2x1xi32>) -> tensor<1x2x4x1xf32> attributes {tf._implements = #tf_type.func<@"addons:MaxUnpooling2D", {padding = "SAME", pool_size = [2, 2], strides = ["2", "2"]}>}
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py

                                         1, 1, 1, 1, 'SAME', 'RELU')
    
        # Max pooling. The kernel size spec {ksize} also follows the layout of
        # the data. Here we have a pooling window of 2, and a stride of 2.
        # output shape: [-1, 14, 14, 32]
        max_pool1 = gen_mnist_ops.new_max_pool(conv1, 2, 2, 2, 2, 'SAME')
    
        # output shape: [-1, 14, 14, 64]
        conv2 = gen_mnist_ops.new_conv2d(max_pool1, self.weights['f2'],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 20 03:05:18 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize_per_channel.mlir

        %2 = stablehlo.convolution(%1, %0)
          dim_numbers = [b, 0, 1, f]x[0, 1, i, o]->[b, 0, 1, f],
          window = {
            stride = [1, 1], pad = [[0, 0], [1, 1]],
            lhs_dilate = [1, 1],
            rhs_dilate = [1, 1]
          }
          {
            batch_group_count = 1 : i64,
            feature_group_count = 1 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 07:48:15 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

          first.getType().clone(new_slice_shape), first.getOperand(),
          /*start_indices=*/rewriter.getI64TensorAttr(new_start),
          /*limit_indices=*/rewriter.getI64TensorAttr(new_limit),
          /*strides=*/first.getStrides());
    
      SmallVector<Value> new_concat_values;
      new_concat_values.reserve(concat.getVal().size() - 1);
      new_concat_values.push_back(new_slice);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        // CHECK: %[[SLICE0:.*]] = "mhlo.slice"(%[[ARG2]])
        // CHECK-DAG-SAME: start_indices = dense<0> : tensor<1xi64>
        // CHECK-DAG-SAME: limit_indices = dense<1> : tensor<1xi64>
        // CHECK-DAG-SAME: strides = dense<1> : tensor<1xi64>
        // CHECK-SAME: (tensor<2xi32>) -> tensor<1xi32>
        // CHECK: %[[DIM0:.*]] = mhlo.reshape %[[SLICE0]] : (tensor<1xi32>) -> tensor<i32>
    
        // CHECK: %[[SLICE1:.*]] = "mhlo.slice"(%[[ARG2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

      // CHECK: mhlo.convolution(%arg0, %[[CONST]])
      // CHECK-SAME{LITERAL}: dim_numbers = [b, 0, 1, f]x[0, 1, i, o]->[b, 0, 1, f]
      // CHECK-SAME{LITERAL}: window = {stride = [1, 2], pad = [[0, 0], [0, 0]], lhs_dilate = [1, 1], rhs_dilate = [2, 2]}
      // CHECK-SAME{LITERAL}: batch_group_count = 1 : i64, feature_group_count = 1 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/array_grad.cc

          StridedSliceGrad(scope, x, begin, end, strides, grad_inputs[0],
                           StridedSliceGrad::BeginMask(begin_mask)
                               .EndMask(end_mask)
                               .EllipsisMask(ellipsis_mask)
                               .NewAxisMask(new_axis_mask)
                               .ShrinkAxisMask(shrink_axis_mask)));
      // No gradients returned for begin, end and strides
      grad_outputs->push_back(NoGradient());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  8. src/unicode/letter_test.go

    		}
    		if r <= range_.Hi {
    			return (r-range_.Lo)%range_.Stride == 0
    		}
    	}
    	return false
    }
    
    func binary(ranges []Range16, r uint16) bool {
    	// binary search over ranges
    	lo := 0
    	hi := len(ranges)
    	for lo < hi {
    		m := int(uint(lo+hi) >> 1)
    		range_ := &ranges[m]
    		if range_.Lo <= r && r <= range_.Hi {
    			return (r-range_.Lo)%range_.Stride == 0
    		}
    		if r < range_.Lo {
    			hi = m
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        } else {
          return next >>> 1;
        }
      }
    
      public void testCrc32cStrideTable() {
        int next = CRC32C_GENERATOR_FLIPPED;
        for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
          next = (next >>> 8) ^ Crc32cHashFunction.Crc32cHasher.BYTE_TABLE[next & 0xFF];
        }
        int[][] expected = new int[4][256];
        for (int b = 0; b < 4; ++b) {
          for (int bit = 128; bit != 0; bit >>= 1) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 23 18:30:33 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  10. src/image/gif/writer.go

    	bw := blockWriter{e: e}
    	bw.setup()
    	lzww := lzw.NewWriter(bw, lzw.LSB, litWidth)
    	if dx := b.Dx(); dx == pm.Stride {
    		_, e.err = lzww.Write(pm.Pix[:dx*b.Dy()])
    		if e.err != nil {
    			lzww.Close()
    			return
    		}
    	} else {
    		for i, y := 0, b.Min.Y; y < b.Max.Y; i, y = i+pm.Stride, y+1 {
    			_, e.err = lzww.Write(pm.Pix[i : i+dx])
    			if e.err != nil {
    				lzww.Close()
    				return
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top