Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for size_a (0.18 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. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(sizeof(float) * weights_buffer->data.size(),
                  Eq(original_weights_buffer->data()->size()));
      int num_values_in_channel = weights_buffer->data.size() / out_channel_size;
      for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) {
        for (size_t j = 0; j < num_values_in_channel; j++) {
          size_t element_idx = channel_idx * out_channel_size + j;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.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. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

          delete[] array_;
      }
    
      // STL-style container methods.
      size_t size() const { return size_; }
      const_iterator begin() const { return array_; }
      const_iterator end() const { return array_ + size_; }
      bool operator==(const NativeArray& rhs) const {
        return size() == rhs.size() &&
            ArrayEq(begin(), size(), rhs.begin());
      }
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

                           int64_t axis) {
        assert(shape.size() == index.size());
        assert(axis < shape.size());
        assert(axis >= 0);
        assert(index[axis] == 0);
        offset_ = IndexToOffset(shape, index);
        stride_ = StrideForAxis(shape, axis);
        size_ = shape[axis];
      }
    
      // Returns the size of the 1-d slice across the tensor.
      int64_t size() const { return size_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen_test_h.golden

      static constexpr size_t kNumArgs = 5;
    
      static constexpr size_t kNumResults = 3;
    
      // Number of variables for the compiled computation.
      static constexpr size_t kNumVariables = 3;
    
      // Byte size of each argument buffer. There are kNumArgs entries.
      static const ::int64_t ArgSize(::tensorflow::int32 index) {
        return BufferInfos()[ArgIndexToBufferIndex()[index]].size();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/crypto/internal/boring/rsa.go

    func decrypt(ctx *C.GO_EVP_PKEY_CTX, out *C.uint8_t, outLen *C.size_t, in *C.uint8_t, inLen C.size_t) C.int {
    	return C._goboringcrypto_EVP_PKEY_decrypt(ctx, out, outLen, in, inLen)
    }
    
    func encryptInit(ctx *C.GO_EVP_PKEY_CTX) C.int {
    	return C._goboringcrypto_EVP_PKEY_encrypt_init(ctx)
    }
    
    func encrypt(ctx *C.GO_EVP_PKEY_CTX, out *C.uint8_t, outLen *C.size_t, in *C.uint8_t, inLen C.size_t) C.int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/size.go

    			maxAlign = 8
    		}
    	}
    
    	fields := t.Fields()
    	size := calcStructOffset(t, fields, 0)
    
    	// For non-zero-sized structs which end in a zero-sized field, we
    	// add an extra byte of padding to the type. This padding ensures
    	// that taking the address of a zero-sized field can't manufacture a
    	// pointer to the next object in the heap. See issue 9401.
    	if size > 0 && fields[len(fields)-1].Type.width == 0 {
    		size++
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top