Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for NP (0.03 sec)

  1. cmd/peer-rest-server.go

    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // LoadUserHandler - reloads a user on the server.
    func (s *peerRESTServer) LoadUserHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	accessKey := mss.Get(peerRESTUser)
    	if accessKey == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        self.assertAllClose(new_outputs_1, new_outputs_2)
    
      @parameterized.named_parameters(
          ('use_constant_with_int32_input', np.int32, False),
          ('use_variable_with_int32_input', np.int32, True),
          ('use_constant_with_int64_input', np.int64, False),
          ('use_variable_with_int64_input', np.int64, True),
      )
      @test_util.run_v2_only
      def test_gather_model(self, input_type, use_variable):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            self.filters = np.stack(
                [
                    np.random.uniform(
                        low=-(i + 1), high=(i + 1), size=filter_shape[:-1]
                    ).astype('f4')
                    for i in range(self.out_channel_size)
                ],
                axis=-1,
            )
    
            self.bias = np.random.uniform(
                low=0, high=10, size=(self.out_channel_size)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    	}
    
    	f := &File{
    		Meta:  make(map[string]string),
    		Count: make(map[string]uint64),
    	}
    	np := round(len(hdrPrefix), 4)
    	hdrLen := *(*uint32)(unsafe.Pointer(&data[np]))
    	if hdrLen > pageSize {
    		return corrupt()
    	}
    	meta := data[np+4 : hdrLen]
    	if i := bytes.IndexByte(meta, 0); i >= 0 {
    		meta = meta[:i]
    	}
    	m := &mappedFile{
    		meta:    string(meta),
    		hdrLen:  hdrLen,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self.filters_0 = np.random.uniform(
                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_0 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
                'f4'
            )
    
            self.filters_1 = np.random.uniform(
                low=-1.0, high=1.0, size=(4, 3)
            ).astype('f4')
            self.bias_1 = np.random.uniform(low=-1.0, high=1.0, size=(3,)).astype(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. pkg/kube/version.go

    		vp, err := version.ParseGeneric(clusterVersion.GitVersion)
    		if err != nil {
    			// no good
    			return -1
    		}
    		np, err := strconv.Atoi(fmt.Sprintf("%d%d", vp.Major(), vp.Minor()))
    		if err != nil {
    			// no good...
    			return -1
    		}
    		return np
    	}
    	return v
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/database/sql/convert.go

    	// argument list.
    	var err error
    	var n int
    	for _, arg := range args {
    		nv := &nvargs[n]
    		if np, ok := arg.(NamedArg); ok {
    			if err = validateNamedValueName(np.Name); err != nil {
    				return nil, err
    			}
    			arg = np.Value
    			nv.Name = np.Name
    		}
    		nv.Ordinal = n + 1
    		nv.Value = arg
    
    		// Checking sequence has four routes:
    		// A: 1. Default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/internal/coverage/cfile/testsupport.go

    	// Read counter data files.
    	for _, cdf := range p.CounterDataFiles {
    		if err := readcdf(cdf); err != nil {
    			return err
    		}
    	}
    
    	// Visit meta-data file.
    	np := uint32(mfr.NumPackages())
    	payload := []byte{}
    	for pkIdx := uint32(0); pkIdx < np; pkIdx++ {
    		var pd *decodemeta.CoverageMetaDataDecoder
    		pd, payload, err = mfr.GetPackageDecoder(pkIdx, payload)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if len(meta) > maxMetaLen {
    		return nil, fmt.Errorf("counter: metadata too large")
    	}
    	np := round(len(hdrPrefix), 4)
    	n := round(np+4+len(meta), 32)
    	hdr := make([]byte, n)
    	copy(hdr, hdrPrefix)
    	*(*uint32)(unsafe.Pointer(&hdr[np])) = uint32(n)
    	copy(hdr[np+4:], meta)
    	return hdr, nil
    }
    
    func (m *mappedFile) place(limit uint32, name string) (start, end uint32) {
    	if limit == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/storage-datatypes.go

    type RenameOptions struct {
    	BaseOptions
    }
    
    // DiskInfoOptions options for requesting custom results.
    type DiskInfoOptions struct {
    	DiskID  string `msg:"id"`
    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top