Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for stride0 (0.85 sec)

  1. 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)
  2. src/image/ycbcr.go

    //	For 4:2:0, CStride == YStride/2 && len(Cb) == len(Cr) == len(Y)/4.
    //	For 4:4:0, CStride == YStride/1 && len(Cb) == len(Cr) == len(Y)/2.
    //	For 4:1:1, CStride == YStride/4 && len(Cb) == len(Cr) == len(Y)/4.
    //	For 4:1:0, CStride == YStride/4 && len(Cb) == len(Cr) == len(Y)/8.
    type YCbCr struct {
    	Y, Cb, Cr      []uint8
    	YStride        int
    	CStride        int
    	SubsampleRatio YCbCrSubsampleRatio
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/dlpack_test.cc

      dltensor_in->dtype = {kDLFloat, 32, 1};
      dltensor_in->shape = shape.data();
      dltensor_in->strides = strides.data();
      TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx);
      ASSERT_NE(handle, nullptr)
          << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",")
          << "], strides=[" << absl::StrJoin(strides, ",") << "])";
    
      auto* dlm_out =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/tests/target-annotation.mlir

      // CHECK: tac.device = "GPU", tac.inference_type = "FLOAT"
      %0 = "tfl.conv_2d"(%arg0, %arg1, %arg2) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "VALID", stride_h = 1 : i32, stride_w = 1 : i32} : (tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, tensor<16xf32>) -> tensor<256x30x30x16xf32>
      func.return %0 : tensor<256x30x30x16xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir

      %0 = "tfl.average_pool_2d"(%arg0) {filter_height = 3 : i32, filter_width = 6 : i32, fused_activation_function = "NONE", padding = "VALID", stride_h = 3 : i32, stride_w = 1 : i32} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> loc("avgpool")
      func.return %0 : tensor<1x1x1x16xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 824 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

      // CHECK: _arithmetic_count = 230686720 : i64
      %0 = "tfl.conv_2d"(%arg0, %arg1, %arg2) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32, fused_activation_function = "RELU6"} : (tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, tensor<16xf32>) -> tensor<256x32x32x16xf32>
      func.return %0 : tensor<256x32x32x16xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json

    // CHECK: %[[RES0:.*]] = "tfl.conv_2d"(%arg0, %arg1, %[[CST]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32}> : (tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, none) -> tensor<256x32x32x16xf32>
    // CHECK: return %[[RES0]] : tensor<256x32x32x16xf32>
    
    {
      "version": 3,
      "operator_codes": [
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top