Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 175 for uint32_t (0.12 sec)

  1. api/go1.22.txt

    pkg math/rand/v2, func NormFloat64() float64 #61716
    pkg math/rand/v2, func Perm(int) []int #61716
    pkg math/rand/v2, func Shuffle(int, func(int, int)) #61716
    pkg math/rand/v2, func Uint32() uint32 #61716
    pkg math/rand/v2, func Uint32N(uint32) uint32 #61716
    pkg math/rand/v2, func Uint64() uint64 #61716
    pkg math/rand/v2, func Uint64N(uint64) uint64 #61716
    pkg math/rand/v2, func UintN(uint) uint #61716
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

    namespace gradients {
    
    using namespace std;
    
    // ================== Helper functions =================
    
    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_test_util.cc

                           const int32_t* values) {
      int64_t num_values = 1;
      for (int i = 0; i < num_dims; ++i) {
        num_values *= dims[i];
      }
      TF_Tensor* t =
          TF_AllocateTensor(TF_INT32, dims, num_dims, sizeof(int32_t) * num_values);
      memcpy(TF_TensorData(t), values, sizeof(int32_t) * num_values);
      return t;
    }
    
    TF_Tensor* Int32Tensor(const std::vector<int32_t>& values) {
      int64_t dims = values.size();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_test_util.h

        unique_tensor_ptr;
    
    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack_test.cc

                              std::vector<int64_t> shape,
                              std::vector<int64_t> strides) {
      size_t num_elements = 1;
      for (int i = 0; i < static_cast<int32_t>(shape.size()); ++i) {
        num_elements *= shape[i];
      }
      std::vector<float> data(num_elements);
      for (size_t j = 0; j < num_elements; ++j) {
        data[j] = j;
      }
      DLManagedTensor dlm_in = {};
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. cmd/last-minute_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != uint32(sizeLastElemMarker) {
    		err = msgp.ArrayError{Wanted: uint32(sizeLastElemMarker), Got: zb0001}
    		return
    	}
    	for za0001 := range z {
    		var field []byte
    		_ = field
    		var zb0002 uint32
    		zb0002, err = dc.ReadMapHeader()
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    				err = msgp.WrapError(err, "DeleteMarkers")
    				return
    			}
    		case "szs":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  8. cmd/tier-last-day-stats_gen.go

    				return
    			}
    			switch msgp.UnsafeString(field) {
    			case "Bins":
    				var zb0006 uint32
    				zb0006, bts, err = msgp.ReadArrayHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "Bins")
    					return
    				}
    				if zb0006 != uint32(24) {
    					err = msgp.ArrayError{Wanted: uint32(24), Got: zb0006}
    					return
    				}
    				for zb0003 := range zb0002.Bins {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	// CRC32 is the CRC32 checksum of the file content.
    	CRC32 uint32
    
    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use CompressedSize64 instead.
    	CompressedSize uint32
    
    	// UncompressedSize is the uncompressed size of the file in bytes.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/archive/tar/stat_unix.go

    		dev := uint64(sys.Rdev) // May be int32 or uint32
    		switch runtime.GOOS {
    		case "aix":
    			var major, minor uint32
    			major = uint32((dev & 0x3fffffff00000000) >> 32)
    			minor = uint32((dev & 0x00000000ffffffff) >> 0)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top