Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for asSlice (0.17 sec)

  1. src/reflect/value.go

    		panic(&ValueError{"reflect.Value.Slice", v.kind()})
    
    	case Array:
    		if v.flag&flagAddr == 0 {
    			panic("reflect.Value.Slice: slice of unaddressable array")
    		}
    		tt := (*arrayType)(unsafe.Pointer(v.typ()))
    		cap = int(tt.Len)
    		typ = (*sliceType)(unsafe.Pointer(tt.Slice))
    		base = v.ptr
    
    	case Slice:
    		typ = (*sliceType)(unsafe.Pointer(v.typ()))
    		s := (*unsafeheader.Slice)(v.ptr)
    		base = s.Data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // CHECK:           [[VAL_13:%.*]] = "tf.Slice"([[VAL_7]], [[VAL_11]], [[VAL_12]]) : (tensor<4x3xf32>, tensor<2xi64>, tensor<2xi64>) -> tensor<1x0xf32>
    // CHECK-DAG:       [[VAL_14:%.*]] = arith.constant dense<[1, 0]> : tensor<2xi64>
    // CHECK-DAG:       [[VAL_15:%.*]] = arith.constant dense<[1, 0]> : tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK-NOT: tfl.padv2
    // CHECK: stablehlo.pad
    
    // -----
    
    // Tests that a quantized `stablehlo.slice` is converted to
    // `tfl.slice` when stride is 1.
    
    func.func @slice(
        %arg0: tensor<3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>
      ) -> tensor<2x2x!quant.uniform<i8:f32, 2.000000e+00:-1>> {
      %0 = "stablehlo.slice"(%arg0) {
        start_indices = array<i64: 1, 2>,
        limit_indices = array<i64: 3, 4>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        return rewriter.create<TFL::DilateOp>(dilate.getLoc(), dilated_output_type,
                                              input, dilate, constant_values);
      }
    };
    
    // Rewrites quantized stablehlo.slice to tfl.slice or tfl.strided_slice.
    class RewriteQuantizedSliceOp : public OpRewritePattern<stablehlo::SliceOp> {
     public:
      using OpRewritePattern<stablehlo::SliceOp>::OpRewritePattern;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

          "dev": true,
          "engines": {
            "node": ">=8"
          }
        },
        "node_modules/slice-ansi": {
          "version": "4.0.0",
          "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
          "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
          "dev": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
  6. src/runtime/proc.go

    	}
    	unlock(&sched.lock)
    	stopm()
    }
    
    // Schedules gp to run on the current M.
    // If inheritTime is true, gp inherits the remaining time in the
    // current time slice. Otherwise, it starts a new time slice.
    // Never returns.
    //
    // Write barriers are allowed because this is called immediately after
    // acquiring a P in several places.
    //
    //go:yeswritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier_test.go

    			Selector:  map[string]string{"foo": "bar"},
    			Ports:     []v1.ServicePort{{Name: "", TargetPort: intstr.FromInt32(80), Protocol: v1.ProtocolTCP}},
    		},
    	})
    
    	// Add initial endpoint slice
    	endpointSlice := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      fmt.Sprintf("%s-1", serviceName),
    			Namespace: namespaceName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework_test.go

    	podInfo, err := framework.NewPodInfo(pod)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return podInfo
    }
    
    // BuildNodeInfos build NodeInfo slice from a v1.Node slice
    func BuildNodeInfos(nodes []*v1.Node) []*framework.NodeInfo {
    	res := make([]*framework.NodeInfo, len(nodes))
    	for i := 0; i < len(nodes); i++ {
    		res[i] = framework.NewNodeInfo()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

              },
              "subjects": {
                "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.",
                "items": {
                  "allOf": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

              },
              "subjects": {
                "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.",
                "items": {
                  "allOf": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
Back to top