Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for slice_v1 (0.32 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    //CHECK-NEXT: return %0 : tensor<4x32x256xf32>
    //CHECK-NEXT:}
    
    func.func @slice(%arg0: tensor<160x20x1xf32>) -> tensor<1x1x1xf32> {
      %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>>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/cmd/gofmt/testdata/slices1.input

    Robert Griesemer <******@****.***> 1408667113 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 957 bytes
    - Viewed (0)
  3. src/cmd/gofmt/testdata/slices1.golden

    Robert Griesemer <******@****.***> 1408667113 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 22 00:25:13 UTC 2014
    - 927 bytes
    - Viewed (0)
  4. test/escape_slice.go

    	return s[0]
    }
    
    func slice10() []*int {
    	i := 0          // ERROR "moved to heap: i"
    	s := []*int{&i} // ERROR "\[\]\*int{...} escapes to heap"
    	return s
    }
    
    func slice11() {
    	i := 2
    	s := make([]int, 2, 3) // ERROR "make\(\[\]int, 2, 3\) does not escape"
    	s = make([]int, i, 3)  // ERROR "make\(\[\]int, i, 3\) does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

          slice_op.getLoc(), new_output_type, reshape_op, new_begin, new_size);
    
      // Append a reshape at the bottom.
      auto output_reshape_op = InsertReshapeOp(slice_op.getLoc(), new_slice,
                                               output_type.getElementType(),
                                               output_type.getShape(), &rewriter);
      rewriter.replaceOp(slice_op, output_reshape_op.getResult());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    	cache := newEndpointSliceCache()
    	hostname := host.Name("foo")
    
    	// add a endpoint
    	ep1 := &model.IstioEndpoint{
    		Address:         "1.2.3.4",
    		ServicePortName: "http",
    	}
    	cache.Update(hostname, "slice1", []*model.IstioEndpoint{ep1})
    	if !testEndpointsEqual(cache.Get(hostname), []*model.IstioEndpoint{ep1}) {
    		t.Fatalf("unexpected endpoints")
    	}
    	if !cache.Has(hostname) {
    		t.Fatalf("expect to find the host name")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.h

    };
    
    // Pad slice to 4d.
    struct PadSlice : public OpRewritePattern<TFL::SliceOp> {
      using OpRewritePattern<TFL::SliceOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TFL::SliceOp slice_op,
                                    PatternRewriter& rewriter) const override;
    };
    
    // Fully connected to conv2d.
    struct FullyConnectedToConv : public OpRewritePattern<TFL::FullyConnectedOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 03 16:37:16 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      LogicalResult matchAndRewrite(
          mhlo::SliceOp slice_op, OpAdaptor adaptor,
          ConversionPatternRewriter& rewriter) const final {
        auto begin = rewriter.create<TF::ConstOp>(slice_op.getLoc(),
                                                  slice_op.getStartIndices());
        auto end = rewriter.create<TF::ConstOp>(slice_op.getLoc(),
                                                slice_op.getLimitIndices());
        auto strides =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceregistry_test.go

    	createEndpointSlice(t, s.KubeClient().Kube(), "slice1", "service", namespace, []v1.EndpointPort{{Name: "http", Port: 80}}, []string{"1.2.3.4"})
    	expectEndpoints(t, s, "outbound|80||service.namespace.svc.cluster.local", []string{"1.2.3.4:80"}, nil)
    
    	// create an FQDN endpoint that should be ignored
    	createEndpointSliceWithType(t, s.KubeClient().Kube(), "slice1", "service",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      collapsed_dims.insert(dimension_numbers.collapsed_slice_dims().begin(),
                            dimension_numbers.collapsed_slice_dims().end());
    
      // Slice operand by constructed start_indices and slice_sizes.
      auto slice_op = builder.create<TF::SliceOp>(
          loc, GetSliceOpOutputType(output.getType(), collapsed_dims), operand,
          /*start_indices=*/scattered_start_indices,
          /*slice_sizes=*/
          builder.create<TF::CastOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top