Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for asSlice (0.15 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. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    v=this;return Kr.reduce(function(t,e){if(H(g[e]))return t;var i,n,r,o=e.match(/color/i),s=o||"opacity"===e,a=g[e].slice(0);s&&Ve(m,e,""),a.length<2&&a.unshift(("scale"===e?1:s?Ve(m,e):0)||0);var h=a.reduce(function(t,e){return D(e)&&e.replace(/-|\d/g,"").trim()||t},"");if(o){var u=m.style.color;a=a.map(function(t){return Ve(Ve(m,"color",t),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(j)}),m.style.color=u}else if(w(e,"bg")){var c="bgy"===e?"height":"width";if(a=a.map(function(t){return...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/webcomponents.min.js

    wrappers,h=new WeakMap,f=[],m=!1,w=Array.prototype.slice,v=0;c.prototype={constructor:c,observe:function(e,t){e=d(e);var n,r=new s(t),o=h.get(e);o||h.set(e,o=[]);for(var i=0;i<o.length;i++)o[i].observer===this&&(n=o[i],n.removeTransientObservers(),n.options=r);n||(n=new l(this,e,r),o.push(n),this.nodes_.push(e))},disconnect:function(){this.nodes_.forEach(function(e){for(var t=h.get(e),n=0;n<t.length;n++){var r=t[n];if(r.observer===this){t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. pkg/kubelet/cm/memorymanager/policy_static_test.go

    		for i, copyBlock := range copyMemoryBlocks {
    			if reflect.DeepEqual(block, copyBlock) {
    				// move the element that equals to the block to the end of the slice
    				copyMemoryBlocks[i] = copyMemoryBlocks[len(copyMemoryBlocks)-1]
    
    				// remove the last element from our slice
    				copyMemoryBlocks = copyMemoryBlocks[:len(copyMemoryBlocks)-1]
    
    				break
    			}
    		}
    	}
    
    	return len(copyMemoryBlocks) == 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
Back to top