Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for size_a (0.4 sec)

  1. tensorflow/compiler/mlir/quantization/common/python/testing.py

      """Return the size ratio of the given paths.
    
      Args:
        path_a: Path of a directory or a file to be the nominator of the ratio.
        path_b: Path of a directory or a file to be the denominator of the ratio.
    
      Returns:
        Ratio of size of path_a / size of path_b.
      """
      size_a = get_dir_size(path_a)
      size_b = get_dir_size(path_b)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. test/sizeof.go

    type T2 struct {
    	A int32
    	U2
    }
    
    type U2 struct {
    	B int32
    	C int32
    }
    
    var t2 T2
    var p2 *T2
    
    func main() {
    	// Test unsafe.Sizeof, unsafe.Alignof, and unsafe.Offsetof all return uintptr.
    	isUintptr(unsafe.Sizeof(t))
    	isUintptr(unsafe.Alignof(t))
    	isUintptr(unsafe.Offsetof(t.X))
    
    	// Test correctness of Offsetof with respect to embedded fields (issue 4909).
    	if unsafe.Offsetof(t2.C) != 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/string_utils.cc

      memcpy(*buffer, &num_strings, sizeof(int32_t));
    
      // Set offset of strings.
      int32_t start = sizeof(int32_t) * (num_strings + 2);
      for (size_t i = 0; i < offset_.size(); i++) {
        // TODO(b/165919229): This code will need changing if/when we port to a
        // big-endian platform.
        int32_t offset = start + offset_[i];
        memcpy(*buffer + sizeof(int32_t) * (i + 1), &offset, sizeof(int32_t));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/go/types/sizes.go

    	Offsetsof(fields []*Var) []int64
    
    	// Sizeof returns the size of a variable of type T.
    	// Sizeof must implement the size guarantees required by the spec.
    	// A negative result indicates that T is too large.
    	Sizeof(T Type) int64
    }
    
    // StdSizes is a convenience type for creating commonly used Sizes.
    // It makes the following simplifying assumptions:
    //
    //   - The size of explicitly sized basic types (int16, etc.) is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/sizes.go

    	Offsetsof(fields []*Var) []int64
    
    	// Sizeof returns the size of a variable of type T.
    	// Sizeof must implement the size guarantees required by the spec.
    	// A negative result indicates that T is too large.
    	Sizeof(T Type) int64
    }
    
    // StdSizes is a convenience type for creating commonly used Sizes.
    // It makes the following simplifying assumptions:
    //
    //   - The size of explicitly sized basic types (int16, etc.) is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/typeparam.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // #include <stddef.h>
    import "C"
    
    func generic[T, U any](t T, u U) {}
    
    func useGeneric() {
    	const zero C.size_t = 0
    
    	generic(zero, zero)
    	generic[C.size_t, C.size_t](0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 353 bytes
    - Viewed (0)
  7. tensorflow/c/tf_tensor_internal.h

      ~TF_ManagedBuffer() override {
        (*deallocator_)(data(), len_, deallocator_arg_);
      }
    
      size_t size() const override { return len_; }
      TensorBuffer* root_buffer() override { return this; }
      void FillAllocationDescription(
          tensorflow::AllocationDescription* proto) const override {
        int64_t rb = size();
        proto->set_requested_bytes(rb);
        proto->set_allocator_name(tensorflow::cpu_allocator()->Name());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. cmd/testdata/xl-meta-consist.zip

    ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¤etagÙ"51fe09d68bacc8c5a68a-1¬content-type¸application/octet-streamÎöa‰ 10/xl.meta XL2 Æ b ¨Versions‘‚¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ ÔLã°ê8EÒŸˆ”Ù Sé6¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistš ¨CSumAlgo ¨PartNums‘ ©PartETags‘ ©PartSizes‘Ò 'ªPartASizes‘Ò '¤SizeÒ 'Â¥MTimeÓ ¿W '’žÉ§MetaSys ¼X-Minio-Internal-actual-sizeÄ 141250§MetaUsr‚¬content-type¸application/octet-strea...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 19 18:48:00 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/metrics/types_util.h

    namespace TFL {
    
    // The hash function for mlir::Location.
    struct LocationHash {
      std::size_t operator()(const Location& v) const noexcept {
        return hash_value(v);
      }
    };
    
    // The hash function for ConverterErrorData.
    struct ConverterErrorDataHash {
      std::size_t operator()(
          const tflite::metrics::ConverterErrorData& v) const noexcept {
        std::size_t hash_result = std::hash<std::string>{}(v.error_message());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 16:09:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

              uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
              uint64_t stat_cache_max_age, size_t stat_cache_max_entries);
    } GCSFile;
    
    // This function is used to initialize a filesystem without the need of setting
    // manually environement variables.
    void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size,
                  size_t max_bytes, uint64_t max_staleness,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:37:41 UTC 2020
    - 5.2K bytes
    - Viewed (0)
Back to top