Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 371 for weights (0.11 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

              &q_builder, input_model, quantized_type, use_updated_hybrid_scheme,
              ::tflite::optimize::QuantizerType::OLD_QUANTIZER) != kTfLiteOk) {
        return absl::InvalidArgumentError(
            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/body-nested-models.md

    !!! tip
        โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ ๐ŸŽป ๐Ÿ•ด ๐Ÿ•โ€๐Ÿฆบ `str` ๐Ÿ”‘.
    
        โœ‹๏ธ Pydantic โœ”๏ธ ๐Ÿง ๐Ÿ’ฝ ๐Ÿ› ๏ธ.
    
        ๐Ÿ‘‰ โ›“ ๐Ÿ‘ˆ, โœ‹๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ’ช ๐Ÿ•ด ๐Ÿ“จ ๐ŸŽป ๐Ÿ”‘, ๐Ÿ“ ๐Ÿ‘ˆ ๐ŸŽป ๐Ÿ”Œ ๐Ÿ˜ ๐Ÿ”ข, Pydantic ๐Ÿ”œ ๐Ÿ—œ ๐Ÿ‘ซ &amp; โœ” ๐Ÿ‘ซ.
    
         &amp; `dict` ๐Ÿ‘† ๐Ÿ“จ `weights` ๐Ÿ”œ ๐Ÿค™ โœ”๏ธ `int` ๐Ÿ”‘ &amp; `float` ๐Ÿ’ฒ.
    
    ## ๐ŸŒƒ
    
    โฎ๏ธ **FastAPI** ๐Ÿ‘† โœ”๏ธ ๐Ÿ”† ๐Ÿ’ช ๐Ÿšš Pydantic ๐Ÿท, โช ๐Ÿšง ๐Ÿ‘† ๐Ÿ“Ÿ ๐Ÿ™…, ๐Ÿ“ &amp; ๐Ÿ˜.
    
    โœ‹๏ธ โฎ๏ธ ๐ŸŒ ๐Ÿ’ฐ:
    
    * ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ•โ€๐Ÿฆบ (๐Ÿ› ๏ธ ๐ŸŒ โ—)
    * ๐Ÿ’ฝ ๐Ÿ› ๏ธ (.โ“‚.. โœ / ๐Ÿ› ๏ธ)
    * ๐Ÿ’ฝ ๐Ÿ”ฌ
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

        Isso significa que, embora os clientes da API sรณ possam enviar strings como chaves, desde que essas strings contenham inteiros puros, o Pydantic irรก convertรช-los e validรก-los.
    
        E o `dict` que vocรช recebe como `weights` terรก, na verdade, chaves `int` e valores` float`.
    
    ## Recapitulaรงรฃo
    
    Com **FastAPI** vocรช tem a flexibilidade mรกxima fornecida pelos modelos Pydantic, enquanto seu cรณdigo รฉ mantido simples, curto e elegante.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    inline constexpr std::array<int64_t, 4> kNchwToNhwcPermutation = {0, 2, 3, 1};
    
    // Permutation from the OIHW (== (output features, input features, height,
    // width)) tensor format to HWIO. This is commonly used to transpose convolution
    // weights represented as OIHW format to HWIO, which is more desirable for
    // certain downstream optimization passes (e.g. XLA).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

                                        enable_per_channel_quantization_));
    
      // Apply activation-weight quantization.
      if (quantization_method_ ==
          tensorflow::quantization::QuantizationMethod::METHOD_STATIC_RANGE_INT8) {
        // For XLA case, weight quantization will be applied for the remaining f32
        // weights even in SRQ.
        pm.addNestedPass<func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema.fbs

      SPARSE = 1,
      DENSE = 2,
    }
    
    table LSHProjectionOptions {
      type: LSHProjectionType;
    }
    
    table SVDFOptions {
      rank:int;
      fused_activation_function:ActivationFunctionType;
      // For weights-only quantization, use asymmetric quantization for non
      // constant inputs at evaluation time.
      asymmetric_quantize_inputs:bool;
    }
    
    // An implementation of TensorFlow RNNCell.
    table RNNOptions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. pilot/pkg/xds/endpoints/endpoint_builder.go

    }
    
    func (e *LocalityEndpoints) refreshWeight() {
    	var weight *wrapperspb.UInt32Value
    	if len(e.llbEndpoints.LbEndpoints) == 0 {
    		weight = nil
    	} else {
    		weight = &wrapperspb.UInt32Value{}
    		for _, lbEp := range e.llbEndpoints.LbEndpoints {
    			weight.Value += lbEp.GetLoadBalancingWeight().Value
    		}
    	}
    	e.llbEndpoints.LoadBalancingWeight = weight
    }
    
    func (e *LocalityEndpoints) AssertInvarianceInTest() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

                  "Non-constant weights are not supported at the moment,"
                  " except matmul and einsum.");
            } else if (!quant_options_.enable_two_input_tensors() &&
                       !is_unitwise_quantization_enabled) {
              return absl::InternalError(
                  "Quantization is disabled for this op due to the non-constant "
                  "weight. You can enable it by setting `enable_two_input_tensors` "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-quantize-dynamic-range.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=4000 enable-custom-op-quantization=CustomTestOp=1-3,CustomTestOp3=3" | FileCheck --check-prefix=MinElement %s
    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=19" | FileCheck --check-prefix=LSTMOpQuantized %s
    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=21" | FileCheck --check-prefix=LSTMOpNotQuantized %s
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/body-nested-models.md

    ```
    
    !!! tip "ํŒ"
        JSON์€ ์˜ค์ง `str`ํ˜• ํ‚ค๋งŒ ์ง€์›ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์—ผ๋‘์— ๋‘์„ธ์š”.
    
        ํ•˜์ง€๋งŒ Pydantic์€ ์ž๋™ ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜์ด ์žˆ์Šต๋‹ˆ๋‹ค.
    
        ์ฆ‰, API ํด๋ผ์ด์–ธํŠธ๊ฐ€ ๋ฌธ์ž์—ด์„ ํ‚ค๋กœ ๋ณด๋‚ด๋”๋ผ๋„ ํ•ด๋‹น ๋ฌธ์ž์—ด์ด ์ˆœ์ˆ˜ํ•œ ์ •์ˆ˜๋ฅผ ํฌํ•จํ•˜๋Š”ํ•œ Pydantic์€ ์ด๋ฅผ ๋ณ€ํ™˜ํ•˜๊ณ  ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค.
    
        ๊ทธ๋Ÿฌ๋ฏ€๋กœ `weights`๋กœ ๋ฐ›์€ `dict`๋Š” ์‹ค์ œ๋กœ `int` ํ‚ค์™€ `float` ๊ฐ’์„ ๊ฐ€์ง‘๋‹ˆ๋‹ค.
    
    ## ์š”์•ฝ
    
    **FastAPI**๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด Pydantic ๋ชจ๋ธ์ด ์ œ๊ณตํ•˜๋Š” ์ตœ๋Œ€ ์œ ์—ฐ์„ฑ์„ ํ™•๋ณดํ•˜๋ฉด์„œ ์ฝ”๋“œ๋ฅผ ๊ฐ„๋‹จํ•˜๊ณ  ์งง๊ฒŒ, ๊ทธ๋ฆฌ๊ณ  ์šฐ์•„ํ•˜๊ฒŒ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ๋ฌผ๋ก  ์•„๋ž˜์˜ ์ด์ ๋„ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    * ํŽธ์ง‘๊ธฐ ์ง€์› (์ž๋™์™„์„ฑ์ด ์–ด๋””์„œ๋‚˜!)
    * ๋ฐ์ดํ„ฐ ๋ณ€ํ™˜ (์ผ๋ช… ํŒŒ์‹ฑ/์ง๋ ฌํ™”)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 12:49:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top