Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for stride_w (0.17 sec)

  1. 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)
  2. 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)
  3. tensorflow/cc/framework/gradient_checker.cc

        (*jacobian)(row, col + 1) = JAC_T{value.imag()};
      }
    }
    
    // JacobianStride<T>::value holds the number of Jacobian elements needed to
    // represent one element of the given type.
    // When T is real the stride is 1, and when T is complex the stride is 2.
    template <typename T>
    struct JacobianStride {};  // Specializations below
    
    #define SET_JACOBIAN_STRIDE(TYPE, VALUE) \
      template <>                            \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

        "tfl.yield"(%test) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg2: tensor<i32>, %arg3: tensor<f32>):
        %cst = arith.constant dense<22.0> : tensor<f32>
        %stride = arith.constant dense<1> : tensor<i32>
        %inc = tfl.add %arg2, %stride {fused_activation_function = "NONE"} : tensor<i32>
        "tfl.yield"(%inc, %cst) : (tensor<i32>, tensor<f32>) -> ()
      }) : (tensor<i32>, tensor<f32>) -> (tensor<i32>, tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        attributes.emplace_back(builder.getNamedAttr(
            "limit_indices",
            BuildVhloTensorV1Attr(shape, op->limit_indices, builder)));
        attributes.emplace_back(builder.getNamedAttr(
            "strides", BuildVhloTensorV1Attr(shape, op->strides, builder)));
        return;
      }
      if (const auto* op = op_union.AsStablehloConvolutionOptions()) {
        if (!(op->window_strides.empty())) {
          std::vector<int64_t> shape;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

        %0 = "tf.Conv2D"(%arg0, %arg1) {attr_map = "0:strides,1:use_cudnn_on_gpu,2:padding,3:explicit_paddings,4:dilations", data_format = "NHWC", device = "", dilations = [1, 1, 1, 1], explicit_paddings = [], padding = "VALID", strides = [1, 1, 2, 1], use_cudnn_on_gpu = true} : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
        %1 = "tf.Relu6"(%0) : (tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

      %0 = "vhlo.slice_v1"(%arg0) <{limit_indices = #vhlo.tensor_v1<dense<[0, 0, 0]> : tensor<3xi64>>, 
                                    start_indices = #vhlo.tensor_v1<dense<[1, 1, 1]> : tensor<3xi64>>,
                                    strides = #vhlo.tensor_v1<dense<[1, 1, 1]> : tensor<3xi64>>}> : (tensor<160x20x1xf32>) -> tensor<1x1x1xf32>
      return %0 : tensor<1x1x1xf32>
    }
    
    //CHECK:func.func private @slice(%arg0: tensor<160x20x1xf32>) -> tensor<1x1x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (1)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      if (!TFDataFormatIsNDHWC(op)) return failure();
    
      auto tf_op = cast<TF::Conv3DOp>(op);
    
      IntegerAttr stride_depth, stride_height, stride_width;
      if (!TFIntListIs1XYZ1(op, "strides", &stride_depth, &stride_height,
                            &stride_width))
        return failure();
    
      IntegerAttr dilation_depth_factor, dilation_height_factor,
          dilation_width_factor;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/image/gif/reader_test.go

    				tc.nPix, tc.extraExisting, tc.extraSeparate, err, tc.wantErr)
    		}
    
    		if tc.wantErr != nil {
    			continue
    		}
    		want := &image.Paletted{
    			Pix:    []uint8{0, 0},
    			Stride: 2,
    			Rect:   image.Rect(0, 0, 2, 1),
    			Palette: color.Palette{
    				color.RGBA{0x10, 0x20, 0x30, 0xff},
    				color.RGBA{0x40, 0x50, 0x60, 0xff},
    			},
    		}
    		if !reflect.DeepEqual(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/image/gif/writer_test.go

    		t.Fatal("colorTablesMatch() == false, expected true")
    	}
    }
    
    func TestEncodeCroppedSubImages(t *testing.T) {
    	// This test means to ensure that Encode honors the Bounds and Strides of
    	// images correctly when encoding.
    	whole := image.NewPaletted(image.Rect(0, 0, 100, 100), palette.Plan9)
    	subImages := []image.Rectangle{
    		image.Rect(0, 0, 50, 50),
    		image.Rect(50, 0, 100, 50),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top